Base32Impl.decode

Decodes source and outputs the result to range.

  1. ubyte[] decode(in C[] source, UB[] buffer = null)
  2. ubyte[] decode(CR source, UB[] buffer = null)
  3. size_t decode(in C[] source, UBR range)
  4. size_t decode(CR source, UBR range)
    template Base32Impl(UseHex useHex = UseHex.no, UsePad usePad = UsePad.yes)
    size_t
    decode
    (
    CR
    UBR
    )
    (
    ,
    UBR range
    )
    if (
    !isArray!CR &&
    isInputRange!CR
    &&
    is(ElementType!CR : dchar)
    &&
    hasLength!CR
    &&
    !is(UBR == ubyte[])
    &&
    isOutputRange!(UBR, ubyte)
    )
    out (result) {}

Parameters

source
Type: CR

A _base32 InputRange to decode.

range
Type: UBR

An OutputRange to receive decoded result

Return Value

Type: size_t

The number of the output characters.

Throws

Exception if source is invalid _base32 data.

Meta