Encoding.base64DecodeStep

size_t base64DecodeStep(ubyte[] inbuf, ref ubyte[] outbuf, ref int state, ref uint save)

Decodes a chunk of base64 encoded data.

Parameters

inbufinput buffer
outbufoutput buffer
stateholds the number of bits that are stored in save
saveleftover bits that have not yet been decoded

Returns

the number of bytes decoded (which have been dumped in

outbuf).