pbjson

package
v0.0.0-...-4c29529 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encoder

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

func NewEncoder

func NewEncoder(buf []byte) *Encoder

func (*Encoder) Bytes

func (e *Encoder) Bytes() []byte

func (*Encoder) EncodeMessage

func (e *Encoder) EncodeMessage(msg *metadata.Message, data []byte)

func (*Encoder) EncodeMessageFast

func (e *Encoder) EncodeMessageFast(msg *metadata.Message, data []byte)

func (*Encoder) Error

func (e *Encoder) Error() error

func (*Encoder) Reserve

func (e *Encoder) Reserve(addition int)

func (*Encoder) Reset

func (e *Encoder) Reset()

func (*Encoder) WriteByte

func (e *Encoder) WriteByte(b byte) error

func (*Encoder) WriteByte2

func (e *Encoder) WriteByte2(b0 byte, b1 byte)

func (*Encoder) WriteBytes

func (e *Encoder) WriteBytes(s []byte)

func (*Encoder) WriteSafeString

func (e *Encoder) WriteSafeString(s []byte)

func (*Encoder) WriteString

func (e *Encoder) WriteString(s string)

Jump to

Keyboard shortcuts

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