thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Neumark <>
Subject Why does Binary/Compact protocol write field types to the bytestream?
Date Mon, 14 Oct 2013 10:34:45 GMT
Does anybody know why protocol.writeFieldBegin() always writes the
following value's type to the bytestream? I know this is also done by
protobuf, but I think writing only the field's ID should be enough (as long
as both sender and receiver have the same idea of the type of the field).

Any explanation would be appreciated!


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message