codec_perf

package
v0.0.0-...-7b1f18c Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

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

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