protobuf

package
v0.0.0-...-f219f25 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EncodingPrefix = []byte{0x6b, 0x38, 0x73, 0x00}

Functions

func UnmarshalListStream

func UnmarshalListStream(dAtA *StreamBuffer, param types.ParamInterface) error

Types

type StreamBuffer

type StreamBuffer struct {
	// contains filtered or unexported fields
}

func NewStreamBuffer

func NewStreamBuffer(r io.Reader, len int) *StreamBuffer

func (*StreamBuffer) Discard

func (s *StreamBuffer) Discard() error

func (*StreamBuffer) Get

func (s *StreamBuffer) Get(i int) (byte, error)

func (*StreamBuffer) Len

func (s *StreamBuffer) Len() int

func (*StreamBuffer) Slice

func (s *StreamBuffer) Slice(start, end int) ([]byte, error)

func (*StreamBuffer) SubStream

func (s *StreamBuffer) SubStream(start, end int) (*StreamBuffer, error)

type UnknownStreamUnmarshaler

type UnknownStreamUnmarshaler struct {
	OnTypeMeta        func(*metav1.TypeMeta)
	OnRaw             func(*StreamBuffer) error
	OnContentEncoding func(string)
	OnContentType     func(string)
}

func (UnknownStreamUnmarshaler) Unmarshal

func (u UnknownStreamUnmarshaler) Unmarshal(buffer *StreamBuffer) error

Jump to

Keyboard shortcuts

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