Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StdEncoding = NewEncoding(encodeStd)
StdEncoding is the default encoding enc.
Functions ¶
This section is empty.
Types ¶
type Encoding ¶
type Encoding struct {
// contains filtered or unexported fields
}
An Encoding is a base 92 encoding/decoding scheme defined by a 92-character alphabet.
func NewEncoding ¶
NewEncoding returns a new Encoding defined by the given alphabet, which must be a 92-byte string that does not contain CR or LF ('\r', '\n').
func (*Encoding) DecodeString ¶
DecodeString decodes a Base92 string into binary bytes.
func (*Encoding) EncodeToString ¶
EncodeToString encodes binary bytes into Base92 bytes.
Click to show internal directories.
Click to hide internal directories.