DecodeBase64W

Function to decode a BASE64 string into any data output array.

The BASE64 string is measured by the (non-zero) size given or by the terminator.

If output is nullptr the length will be calculated but the string itself will not be generated.

Syntax

public const string enginedll = @"engine.dll";

[DllImport(enginedll, EntryPoint = "DecodeBase64W")]
public static extern Int64 DecodeBase64W(byte[] output, string input, Int64 size);

[DllImport(enginedll, EntryPoint = "DecodeBase64W")]
public static extern Int64 DecodeBase64W(byte[] output, byte[] input, Int64 size);    

Property output

Size: 64 bit / 8 byte (reference)
???.

Property input

Size: 64 bit / 8 byte (reference)
???.

Property size

Size: 64 bit / 8 byte (value)
The given size.