Hello,
I have been using this library to parse dnstap files via NewDecoder() and Decode(). I noticed Decode() is documented like so:
Decode silently discards data frames larger than the Decoder's configured maxSize.
Is there a reason it was designed like that? It seems to me silently ignoring things means I can not trust that I decoded all of the dnstap entries in a file. Should I check for this some other way?
Hello,
I have been using this library to parse dnstap files via
NewDecoder()andDecode(). I noticedDecode()is documented like so:Is there a reason it was designed like that? It seems to me silently ignoring things means I can not trust that I decoded all of the dnstap entries in a file. Should I check for this some other way?