Documentation ¶
Index ¶
- func DecodeValue(reader xio.Reader, msg GenericDecodeProtoMessage, extBuf *[]byte) (int, error)
- func DecodeValueRaw(data []byte, msg GenericDecodeProtoMessage) (int, error)
- func EncodeValue(msg GenericEncodeProtoMessage, extBuf *[]byte, writer io.Writer) error
- type GenericDecodeProtoMessage
- type GenericEncodeProtoMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeValue ¶
DecodeValue decodes a GenericDecodeProtoMessage message from a reader.
func DecodeValueRaw ¶
func DecodeValueRaw( data []byte, msg GenericDecodeProtoMessage, ) (int, error)
DecodeValueRaw decodes raw bytes into a protobuf message, returning the number of bytes read and any errors encountered.
func EncodeValue ¶
func EncodeValue( msg GenericEncodeProtoMessage, extBuf *[]byte, writer io.Writer, ) error
EncodeValue encodes a GenericValue message into a `io.Writer`. pool if the array is at capacity.
Types ¶
type GenericDecodeProtoMessage ¶
GenericDecodeProtoMessage is a generic gogo protobuf generated Message type.
Click to show internal directories.
Click to hide internal directories.