Documentation ¶
Index ¶
- func B58Decode(b string) []byte
- func B58Encode(b []byte) string
- func GunzipBuf(data []byte) []byte
- func GzipBuf(data []byte) ([]byte, error)
- func GzipBufBestCompression(data []byte) []byte
- func SetEnglishDictionary(dictionary []string)
- func SumWord(word string) int
- type Base32
- type Base58
- type Base64
- type Encoder
- type EncoderFS
- type EncodersList
- type English
- type Gzip
- type Hex
- type NoEncoder
- type PNGEncoder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GzipBufBestCompression ¶
GzipBufBestCompression - Gzip a buffer using the best compression setting
func SetEnglishDictionary ¶
func SetEnglishDictionary(dictionary []string)
Types ¶
type EncoderFS ¶
type EncoderFS interface { Open(name string) (fs.File, error) ReadDir(name string) ([]fs.DirEntry, error) ReadFile(name string) ([]byte, error) }
EncoderFS - Generic interface to read wasm encoders from a filesystem
type EncodersList ¶
type English ¶
type English struct{}
English Encoder - An ASCIIEncoder for binary to english text
type Gzip ¶
type Gzip struct{}
Gzip - Gzip compression encoder
type NoEncoder ¶
type NoEncoder struct{}
NoEncoder - A NOP encoder
type PNGEncoder ¶
type PNGEncoder struct{}
PNGEncoder - PNG image object
Source Files ¶
Click to show internal directories.
Click to hide internal directories.