Encoding.base64DecodeStep

Decodes a chunk of base64 encoded data.

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

Parameters

inbuf ubyte[]

input buffer

outbuf ubyte[]

output buffer

state int

holds the number of bits that are stored in save

save uint

leftover bits that have not yet been decoded

Return Value

Type: size_t

the number of bytes decoded (which have been dumped in outbuf).