This is binary data corresponding to a serialized Thrift struct: Copy 18 03 66 6f 6f 16 c8 01 16 b0 df fd eb 0c 16 02 00 The code that generated it is Copy CppExampleLogEntry( userid=100, ip="foo", weight=1, time=CUR_TIME ) Explain, byte-by-byte, the meaning of each byte in the binary data.
I'll explain the binary data byte-by-byte based on the Thrift Compact protocol encoding described in the document:
18: This is a field header byte.0001 1000in binarydddd(field id delta) = 1 (first field)
tttt(field type) = 8 (BINARY, used for strings)