Documentation

Index

Constants

This section is empty.

Variables

var File_test_codec_perf_perf_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Buffer

type Buffer struct {
	Body []byte `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

Buffer is a message that contains a body of bytes that is used to exercise encoding and decoding overheads.

func (*Buffer) Descriptor

func (*Buffer) Descriptor() ([]byte, []int)

Deprecated: Use Buffer.ProtoReflect.Descriptor instead.

func (*Buffer) GetBody

func (x *Buffer) GetBody() []byte

func (*Buffer) ProtoMessage

func (*Buffer) ProtoMessage()

func (*Buffer) ProtoReflect

func (x *Buffer) ProtoReflect() protoreflect.Message

func (*Buffer) Reset

func (x *Buffer) Reset()

func (*Buffer) String

func (x *Buffer) String() string

Source Files