Documentation
¶
Index ¶
- func GetInstanceOf(v *anypb.Any) (proto.Message, error)
- func ReadUint16(reader io.Reader) (uint16, error)
- func ToTypedMessage(message proto.Message) *anypb.Any
- func ToTypedMessages(messages ...proto.Message) []*anypb.Any
- func WriteUint16(writer io.Writer, value uint16) (int, error)
- func WriteUint64(writer io.Writer, value uint64) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadUint16 ¶
ReadUint16 reads first two bytes from the reader, and then coverts them to an uint16 value.
func ToTypedMessage ¶
ToTypedMessage converts a proto Message into TypedMessage.
func WriteUint16 ¶
WriteUint16 writes an uint16 value into writer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.