Hi,
I am writing a bro event handler with one argument as “string” type. The string is actually treated as a byte stream but not ended with ‘\0’ in Bro.
I am wondering is there any way to print the hexadecimal value of each byte in this string (including how to index each byte within the string). I know that %s can print string, but it prints out the ASCII code, which sometimes is hard to decode.
Best,