decoder

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDecoders

func GetDecoders() map[string]Decoder

Types

type Ascii85Decoder

type Ascii85Decoder struct {
	Decoder
}

func (*Ascii85Decoder) DecodeString

func (d *Ascii85Decoder) DecodeString(data string) (string, error)

type Base32Decoder

type Base32Decoder struct {
	Decoder
}

func (*Base32Decoder) DecodeString

func (d *Base32Decoder) DecodeString(data string) (string, error)

type Base64Decoder

type Base64Decoder struct {
	Decoder
}

func (*Base64Decoder) DecodeString

func (d *Base64Decoder) DecodeString(data string) (string, error)

type Decoder

type Decoder interface {
	DecodeString(string) (string, error)
}

type HexDecoder

type HexDecoder struct {
	Decoder
}

func (*HexDecoder) DecodeString

func (d *HexDecoder) DecodeString(data string) (string, error)

Jump to

Keyboard shortcuts

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