Decodes entire protocol object according to the given service spec.
Buffer to decode
The decoded object
Encodes entire protocol object according to the given service spec.
Object to encode
Encoded Buffer.
Returns the string representation of the transcoder. Used for saving and restoring.
The state string.
Decodes the buffer according to the provided type. Uses the general protocol main type by default. Does not decode service-specific information.
Buffer to decode
Type used to decode. Defaults to main protocol type.
The decoded object
Encodes the object according to the provided type. Uses the general protocol main type by default. Does not encode service-specific information.
Object to encode
Type used to encode. Defaults to main protocol type.
The encoded Buffer
Generated using TypeDoc
Transcodes objects according to the protocol buffers spec.