...
Package codec_perf
Overview ▹
Index ▹
type Buffer ¶
Buffer is a message that contains a body of bytes that is used to exercise encoding and decoding overheads.
type Buffer struct {
Body []byte `protobuf:"bytes,1,opt,name=body" json:"body,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*Buffer) Descriptor ¶
func (*Buffer) Descriptor() ([]byte, []int)
func (*Buffer) GetBody ¶
func (m *Buffer) GetBody() []byte
func (*Buffer) ProtoMessage ¶
func (*Buffer) ProtoMessage()
func (*Buffer) Reset ¶
func (m *Buffer) Reset()
func (*Buffer) String ¶
func (m *Buffer) String() string
ActiveGo 1.8