codec_perf

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2018 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 added in v1.12.0

func (m *Buffer) XXX_DiscardUnknown()

func (*Buffer) XXX_Marshal added in v1.12.0

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

func (*Buffer) XXX_Merge added in v1.12.0

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

func (*Buffer) XXX_Size added in v1.12.0

func (m *Buffer) XXX_Size() int

func (*Buffer) XXX_Unmarshal added in v1.12.0

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