Using the Protocol template parameter, the concrete TProtocol to use can be
be specified. If the pointerStruct parameter is set to true, the struct
fields are expected to be pointers to the actual data. This is used
internally (combined with TPargsStruct) and usually should not be used in
user code.
This is a free function to make it possible to read exisiting structs from
the wire without altering their definitions.
Serializes a struct to the target protocol.
Using the Protocol template parameter, the concrete TProtocol to use can be be specified. If the pointerStruct parameter is set to true, the struct fields are expected to be pointers to the actual data. This is used internally (combined with TPargsStruct) and usually should not be used in user code.
This is a free function to make it possible to read exisiting structs from the wire without altering their definitions.