#968: Add bytestring_to_uint16, uint32, uint64 functions
--------------------+------------------------
Reporter: yun | Owner:
Type: Patch | Status: new
Priority: Low | Milestone: Bro2.2
Component: Bro | Version: git/master
Resolution: | Keywords: bytestring
--------------------+------------------------
Comment (by seth):
> One example that resembles my use case: Parse a specific HTTP header
that
> is Base64 encoded and decodes to a specific struct. So decode it,
extract
> the values that i'm interested in, and log some of the decoded
information
> if it's interesting.
Ah, seems reasonable. I still think that for now we'd like to stick to
only one function named bytestring_to_count. Adding something akin to
unpack doesn't fit the longer term model we're putting in place and I'd
like to avoid the various bit length uint functions since in Bro all
integers are 64bit.
--
Ticket URL: <http://tracker.bro.org/bro/ticket/968#comment:10>
Bro Tracker <http://tracker.bro.org/bro>
Bro Issue Tracker
_______________________________________________
bro-dev mailing list
[email protected]
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev