Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
Decoder describes a base64 decoder.
func DecoderArg ¶
DecoderArg turns a continuation argument into a *Decoder.
func NewDecoder ¶
NewDecoder returns a new base64 decoder, using the encoding enc and wrapping r.
func ValueToDecoder ¶
ValueToDecoder turns a Lua value to a *Decoder if possible.
type Encoder ¶
type Encoder struct { io.WriteCloser // contains filtered or unexported fields }
Encoder describes a base64 encoder.
func EncoderArg ¶
EncoderArg turns a continuation argument into an *Encoder.
func NewEncoder ¶
NewEncoder returns a new base64 encoder, using the encoding enc and wrapping w. A finaliser is set on the returned encoder (via runtime.SetFinalizer) so that it is automatically closed when garbage collected.
func ValueToEncoder ¶
ValueToEncoder turns a Lua value to an *Encoder if possible.
Click to show internal directories.
Click to hide internal directories.