[Bro-Dev] #968: Add bytestring_to_uint16, uint32, uint64 functions
Bro Tracker
bro at tracker.bro.org
Tue Mar 19 08:17:36 PDT 2013
#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):
> How about I change the function to bytestream_to_count(), and based on
the
> length convert it to 8bit, 16bit, 32bit or 64 bit integers? So
basically:
That was my thought, just make it do the conversion based on the number of
characters in the string. I wouldn't even complain if you felt like
adding a bytestring_to_int function. :)
--
Ticket URL: <http://tracker.bro.org/bro/ticket/968#comment:13>
Bro Tracker <http://tracker.bro.org/bro>
Bro Issue Tracker
More information about the bro-dev
mailing list