MCPcopy
hub / github.com/golang/protobuf / Unread

Method Unread

proto/buffer.go:104–106  ·  view source on GitHub ↗

Unread returns the unread portion of the buffer.

()

Source from the content-addressed store, hash-verified

102
103// Unread returns the unread portion of the buffer.
104func (b *Buffer) Unread() []byte {
105 return b.buf[b.idx:]
106}
107
108// Marshal appends the wire-format encoding of m to the buffer.
109func (b *Buffer) Marshal(m Message) error {

Callers 1

UnmarshalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected