encoding

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decbuf

type Decbuf struct {
	encoding.Decbuf
}

Decbuf extends encoding.Decbuf with support for multi byte decoding

func DecWith

func DecWith(b []byte) (res Decbuf)

func DecWrap

func DecWrap(inner encoding.Decbuf) Decbuf

func (*Decbuf) Bytes

func (d *Decbuf) Bytes(n int) []byte

func (*Decbuf) CheckCrc

func (d *Decbuf) CheckCrc(castagnoliTable *crc32.Table) error

type Encbuf

type Encbuf struct {
	encoding.Encbuf
}

Encbuf extends encoding.Encbuf with support for multi byte encoding

func EncWith

func EncWith(b []byte) (res Encbuf)

func EncWrap

func EncWrap(inner encoding.Encbuf) Encbuf

func (*Encbuf) PutString

func (e *Encbuf) PutString(s string)

func (*Encbuf) Skip

func (e *Encbuf) Skip(i int)

Jump to

Keyboard shortcuts

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