encoding

package
v0.0.0-...-07cd40f Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

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

func NewReader

func NewReader(b []byte) *Reader

func (*Reader) Bool

func (r *Reader) Bool(x *bool) error

func (*Reader) ByteArray

func (r *Reader) ByteArray(x *[]byte) error

func (*Reader) FixedByteArray

func (r *Reader) FixedByteArray(x *[]byte) error

func (*Reader) Float32

func (r *Reader) Float32(x *float32) error

func (*Reader) Float64

func (r *Reader) Float64(x *float64) error

func (*Reader) Int16

func (r *Reader) Int16(x *int16) error

func (*Reader) Int32

func (r *Reader) Int32(x *int32) error

func (*Reader) Int64

func (r *Reader) Int64(x *int64) error

func (*Reader) Int8

func (r *Reader) Int8(x *int8) error

func (*Reader) Read

func (r *Reader) Read(p []byte) (int, error)

func (*Reader) String

func (r *Reader) String(x *string) error

func (*Reader) UUID

func (r *Reader) UUID(x *[16]byte) error

func (*Reader) Uint16

func (r *Reader) Uint16(x *uint16) error

func (*Reader) Uint32

func (r *Reader) Uint32(x *uint32) error

func (*Reader) Uint64

func (r *Reader) Uint64(x *uint64) error

func (*Reader) Uint8

func (r *Reader) Uint8(x *uint8) error

func (*Reader) VarInt

func (r *Reader) VarInt(x *int32) error

type Writer

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

func NewWriter

func NewWriter(b *bytes.Buffer) *Writer

func (*Writer) Bool

func (w *Writer) Bool(x bool) error

func (*Writer) ByteArray

func (w *Writer) ByteArray(x []byte) error

func (*Writer) FixedByteArray

func (w *Writer) FixedByteArray(x []byte) error

func (*Writer) Float32

func (w *Writer) Float32(x float32) error

func (*Writer) Float64

func (w *Writer) Float64(x float64) error

func (*Writer) Int16

func (w *Writer) Int16(x int16) error

func (*Writer) Int32

func (w *Writer) Int32(x int32) error

func (*Writer) Int64

func (w *Writer) Int64(x int64) error

func (*Writer) Int64Array

func (w *Writer) Int64Array(x []int64) error

func (*Writer) Int8

func (w *Writer) Int8(x int8) error

func (*Writer) String

func (w *Writer) String(x string) error

func (*Writer) UUID

func (w *Writer) UUID(x [16]byte) error

func (*Writer) Uint16

func (w *Writer) Uint16(x uint16) error

func (*Writer) Uint32

func (w *Writer) Uint32(x uint32) error

func (*Writer) Uint64

func (w *Writer) Uint64(x uint64) error

func (*Writer) Uint8

func (w *Writer) Uint8(x uint8) error

func (*Writer) VarInt

func (w *Writer) VarInt(x int32) error

func (*Writer) VarIntArray

func (w *Writer) VarIntArray(x []int32) error

Jump to

Keyboard shortcuts

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