Documentation
¶
Overview ¶
Package base91 implements a base91 encoder and decoder.
base91 is defined in Joachim Henke's basE91: http://base91.sourceforge.net/
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeString ¶
DecodeString returns the bytes represented by the base91 string s, probably what you want.
func Encode ¶
Encode encodes src into dst. It returns the number of bytes written to dst. Whereas base91 uses up to nearly all printable characters, Encode skips invalid characters silently.
func EncodeToString ¶
EncodeToString returns the encoded base91 string of src, probably what you want.
func NewDecoder ¶
NewDecoder constructs a new base91 stream decoder. Data read from the returned reader is base91 decoded from r.
func NewEncoder ¶
func NewEncoder(w io.Writer) io.WriteCloser
NewEncoder returns a new base91 stream encoder. Data written to the returned writer will be encoded using base91 and then written to w. When finished writing, the caller must Close the returned encoder to flush any partially written blocks.
Types ¶
This section is empty.