package
1.13.7
Repository: https://github.com/starudream/go-lib.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

NewDecoderRegistry returns a new, initialized DecoderRegistry.
NewEncoderRegistry returns a new, initialized EncoderRegistry.

# Constants

ErrDecoderFormatAlreadyRegistered is returned when an decoder is already registered for a format.
ErrDecoderNotFound is returned when there is no decoder registered for a format.
ErrEncoderFormatAlreadyRegistered is returned when an encoder is already registered for a format.
ErrEncoderNotFound is returned when there is no encoder registered for a format.

# Structs

DecoderRegistry can choose an appropriate Decoder based on the provided format.
EncoderRegistry can choose an appropriate Encoder based on the provided format.

# Interfaces

Decoder decodes the contents of b into v.
Encoder encodes the contents of v into a byte representation.