Android.Util.Base64.Decode Method
Decode the Base64-encoded data in input and return the data in a new byte array.

Syntax

[Android.Runtime.Register("decode", "([BIII)[B", "")]
public static byte[] Decode (byte[] input, int offset, int len, [Android.Runtime.GeneratedEnum] Base64Flags flags)

Parameters

input
the data to decode
offset
the position within the input array at which to start
len
the number of bytes of input to decode
flags
controls certain features of the decoded output. Pass DEFAULT to decode standard Base64.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif the input contains incorrect padding

Remarks

Decode the Base64-encoded data in input and return the data in a new byte array.

The padding '=' characters at the end are considered optional, but if any are present, there must be the correct number of them.

[Android Documentation]

Requirements

Namespace: Android.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8