Documentation
¶
Index ¶
- Variables
- type Decoder
- func (d *Decoder) ByBase100() *Decoder
- func (d *Decoder) ByBase32() *Decoder
- func (d *Decoder) ByBase32Hex() *Decoder
- func (d *Decoder) ByBase45() *Decoder
- func (d *Decoder) ByBase58() *Decoder
- func (d *Decoder) ByBase62() *Decoder
- func (d *Decoder) ByBase64() *Decoder
- func (d *Decoder) ByBase64Url() *Decoder
- func (d *Decoder) ByBase85() *Decoder
- func (d *Decoder) ByBase91() *Decoder
- func (d *Decoder) ByHex() *Decoder
- func (d *Decoder) ByMorse() *Decoder
- func (d *Decoder) FromBytes(b []byte) *Decoder
- func (d *Decoder) FromFile(ff fs.File) *Decoder
- func (d *Decoder) FromString(s string) *Decoder
- func (d *Decoder) ToBytes() []byte
- func (d *Decoder) ToString() string
- type Encoder
- func (e *Encoder) ByBase100() *Encoder
- func (e *Encoder) ByBase32() *Encoder
- func (e *Encoder) ByBase32Hex() *Encoder
- func (e *Encoder) ByBase45() *Encoder
- func (e *Encoder) ByBase58() *Encoder
- func (e *Encoder) ByBase62() *Encoder
- func (e *Encoder) ByBase64() *Encoder
- func (e *Encoder) ByBase64Url() *Encoder
- func (e *Encoder) ByBase85() *Encoder
- func (e *Encoder) ByBase91() *Encoder
- func (e *Encoder) ByHex() *Encoder
- func (e *Encoder) ByMorse() *Encoder
- func (e *Encoder) FromBytes(b []byte) *Encoder
- func (e *Encoder) FromFile(f fs.File) *Encoder
- func (e *Encoder) FromString(s string) *Encoder
- func (e *Encoder) ToBytes() []byte
- func (e *Encoder) ToString() string
Constants ¶
This section is empty.
Variables ¶
View Source
var BufferSize = 64 * 1024
BufferSize buffer size for streaming (64KB is a good balance)
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder struct { Error error // contains filtered or unexported fields }
func (*Decoder) ByBase32Hex ¶
ByBase32Hex decodes by base32hex.
func (*Decoder) ByBase64Url ¶
ByBase64Url decodes by base64 url-safe.
func (*Decoder) FromBytes ¶
FromBytes decodes from byte slice.
func (*Decoder) FromFile ¶
FromFile decodes from file.
func (*Decoder) FromString ¶
FromString decodes from string.
type Encoder ¶
type Encoder struct { Error error // contains filtered or unexported fields }
func (*Encoder) ByBase32Hex ¶
ByBase32Hex Encoders by base32hex.
func (*Encoder) ByBase64Url ¶
ByBase64Url Encoders by base64 url-safe.
func (*Encoder) FromBytes ¶
FromBytes encodes from byte slice.
func (*Encoder) FromString ¶
FromString encodes from string.
Source Files
¶
- base100.go
- base32.go
- base45.go
- base58.go
- base62.go
- base64.go
- base85.go
- base91.go
- coding.go
- decoder.go
- encoder.go
- hex.go
- morse.go
Directories
¶
Path | Synopsis |
---|---|
Package base100 implements base100 encoding and decoding with streaming support.
|
Package base100 implements base100 encoding and decoding with streaming support. |
Package base32 implements base32 encoding and decoding with streaming support.
|
Package base32 implements base32 encoding and decoding with streaming support. |
Package base45 implements base45 encoding and decoding with streaming support.
|
Package base45 implements base45 encoding and decoding with streaming support. |
Package base58 implements base58 encoding and decoding with streaming support.
|
Package base58 implements base58 encoding and decoding with streaming support. |
Package base62 implements base62 encoding and decoding with streaming support.
|
Package base62 implements base62 encoding and decoding with streaming support. |
Package base64 implements base64 encoding and decoding with streaming support.
|
Package base64 implements base64 encoding and decoding with streaming support. |
Package base85 implements base85 encoding and decoding with streaming support.
|
Package base85 implements base85 encoding and decoding with streaming support. |
Package base91 implements base91 encoding and decoding with streaming support.
|
Package base91 implements base91 encoding and decoding with streaming support. |
Package hex implements hex encoding and decoding with streaming support.
|
Package hex implements hex encoding and decoding with streaming support. |
Package morse implements morse encoding and decoding with streaming support.
|
Package morse implements morse encoding and decoding with streaming support. |
Click to show internal directories.
Click to hide internal directories.