codec_perf

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type 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.

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

func (*Buffer) XXX_DiscardUnknown

func (m *Buffer) XXX_DiscardUnknown()

func (*Buffer) XXX_Marshal

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

func (*Buffer) XXX_Merge

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

func (*Buffer) XXX_Size

func (m *Buffer) XXX_Size() int

func (*Buffer) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL