Search and commands

↑ ↓ to select · Enter to open · Esc to close

Type to search packages.

codec_perf

v1.14.0
github.com/bglmmz/grpc/test/codec_perf

Documentation

pkg.go.dev ↗

Table of contents

↓ to select · Enter to jump· Shift+Enter for source

12 matches

Top ↑

Types

Buffer

type Buffer struct {
	Body                 []byte   `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

Buffer.Descriptor

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

Buffer.GetBody

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

Buffer.ProtoMessage

func (*Buffer) ProtoMessage()

Buffer.Reset

func (m *Buffer) Reset()

Buffer.String

func (m *Buffer) String() string

Buffer.XXX_DiscardUnknown

func (m *Buffer) XXX_DiscardUnknown()

Buffer.XXX_Marshal

func (m *Buffer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

Buffer.XXX_Merge

func (dst *Buffer) XXX_Merge(src proto.Message)

Buffer.XXX_Size

func (m *Buffer) XXX_Size() int

Buffer.XXX_Unmarshal

func (m *Buffer) XXX_Unmarshal(b []byte) error

Dependency graph