encoding

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: AGPL-3.0 Imports: 1 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

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)

Jump to

Keyboard shortcuts

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