grpc: Index | Files

package codec_perf

import ""


Package Files


type Buffer Uses

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.

func (*Buffer) Descriptor Uses

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

func (*Buffer) GetBody Uses

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

func (*Buffer) ProtoMessage Uses

func (*Buffer) ProtoMessage()

func (*Buffer) Reset Uses

func (m *Buffer) Reset()

func (*Buffer) String Uses

func (m *Buffer) String() string

func (*Buffer) XXX_DiscardUnknown Uses

func (m *Buffer) XXX_DiscardUnknown()

func (*Buffer) XXX_Marshal Uses

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

func (*Buffer) XXX_Merge Uses

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

func (*Buffer) XXX_Size Uses

func (m *Buffer) XXX_Size() int

func (*Buffer) XXX_Unmarshal Uses

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

Package codec_perf imports 3 packages (graph). Updated 2020-04-27. Refresh now. Tools for package owners.