Expand description
Thrift’s binary (strict, and the old non-strict form on read) and compact protocols over a
byte buffer, to and from a typed value tree. Parsing reports Incomplete when the buffer ends
early, so the unframed transport can read more.
Structs§
- Incomplete
- The buffer ended before the message did.
- Message
Enums§
Constants§
- CALL
- EXCEPTION
- INTERNAL_
ERROR - MAX_
MESSAGE - ONEWAY
- PROTOCOL_
ERROR - REPLY
- T_BOOL
- T_BYTE
- T_
DOUBLE - T_I16
- T_I32
- T_I64
- T_LIST
- T_MAP
- T_SET
- T_STOP
- T_
STRING - T_
STRUCT - T_UUID
- UNKNOWN_
METHOD
Functions§
- application_
exception - A TApplicationException body: 1: message, 2: type.
- decode
- Parse one message from the front of
b: the message, its protocol and the bytes it used. - encode
- is_
incomplete