grpc: Index | Files

package codec_perf

import ""


Package Files



var File_test_codec_perf_perf_proto protoreflect.FileDescriptor

type Buffer Uses

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 Uses

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

Deprecated: Use Buffer.ProtoReflect.Descriptor instead.

func (*Buffer) GetBody Uses

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

func (*Buffer) ProtoMessage Uses

func (*Buffer) ProtoMessage()

func (*Buffer) ProtoReflect Uses

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

func (*Buffer) Reset Uses

func (x *Buffer) Reset()

func (*Buffer) String Uses

func (x *Buffer) String() string

Package codec_perf imports 5 packages (graph). Updated 2020-11-21. Refresh now. Tools for package owners.