codec_perf

package
v1.63.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
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 deprecated

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 added in v1.33.2

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

func (*Buffer) Reset

func (x *Buffer) Reset()

func (*Buffer) String

func (x *Buffer) String() string

Jump to

Keyboard shortcuts

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