Base64 Encoder/Decoder
This class represents a Base64 encoder.
Input a part of a message to the encoder.
| const(ubyte)* input | the message to input as a ubyte array |
| size_t length | the length of the ubyte array input |
Inform the Encoder that the current message shall be closed.
Create a base64 encoder.
| bool breaks | whether to use line breaks in the output |
| size_t length | the length of the lines of the output |
| bool t_n | whether to use a trailing newline |
This object represents a Base64 decoder.
Input a part of a message to the decoder.
| const(ubyte)* input | the message to input as a ubyte array |
| size_t length | the length of the ubyte array input |
Finish up the current message
Create a base64 decoder.
| DecoderChecking c | the type of checking that shall be performed by the decoder |