encoding

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder[T any] interface {
	Decode(state *T, data []byte) (int, error)
}

Decoder Returns the total of bytes read and an error if present

type Encoder

type Encoder[T any] interface {
	Encode(state T) ([]byte, error)
}

type EncoderDecoder

type EncoderDecoder[T any] interface {
	Encoder[T]
	Decoder[T]
}

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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