codec

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base32

type Base32 struct{}

func (*Base32) Decode

func (b *Base32) Decode(src []byte) ([]byte, error)

func (*Base32) Encode

func (b *Base32) Encode(src []byte) ([]byte, error)

type Base58

type Base58 struct{}

func (*Base58) Decode

func (b *Base58) Decode(src []byte) ([]byte, error)

func (*Base58) Encode

func (b *Base58) Encode(src []byte) ([]byte, error)

type Base64

type Base64 struct{}

func (*Base64) Decode

func (b *Base64) Decode(src []byte) ([]byte, error)

func (*Base64) Encode

func (b *Base64) Encode(src []byte) ([]byte, error)

type Codec

type Codec interface {
	Encoder
	Decoder
}

type Crc32

type Crc32 struct{}

func (*Crc32) Decode

func (c *Crc32) Decode(src []byte) ([]byte, error)

func (*Crc32) Encode

func (c *Crc32) Encode(src []byte) ([]byte, error)

type Crc64

type Crc64 struct{}

func (*Crc64) Decode

func (c *Crc64) Decode(src []byte) ([]byte, error)

func (*Crc64) Encode

func (c *Crc64) Encode(src []byte) ([]byte, error)

type Decoder

type Decoder interface {
	Decode(src []byte) ([]byte, error)
}

type Encoder

type Encoder interface {
	Encode(src []byte) ([]byte, error)
}

type GZip

type GZip struct{}

func (*GZip) Decode

func (g *GZip) Decode(src []byte) ([]byte, error)

func (*GZip) Encode

func (g *GZip) Encode(src []byte) ([]byte, error)

type MD5

type MD5 struct{}

func (*MD5) Decode

func (h *MD5) Decode(src []byte) ([]byte, error)

func (*MD5) Encode

func (h *MD5) Encode(src []byte) ([]byte, error)

type Sha1

type Sha1 struct{}

func (*Sha1) Decode

func (h *Sha1) Decode(src []byte) ([]byte, error)

func (*Sha1) Encode

func (h *Sha1) Encode(src []byte) ([]byte, error)

type Sha256

type Sha256 struct{}

func (*Sha256) Decode

func (s *Sha256) Decode(src []byte) ([]byte, error)

func (*Sha256) Encode

func (s *Sha256) Encode(src []byte) ([]byte, error)

type Tar

type Tar struct{}

func (*Tar) Decode

func (t *Tar) Decode(src []byte) ([]byte, error)

func (*Tar) Encode

func (t *Tar) Encode(src []byte) ([]byte, error)

type Zip

type Zip struct{}

func (*Zip) Decode

func (z *Zip) Decode(src []byte) ([]byte, error)

func (*Zip) Encode

func (z *Zip) Encode(src []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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