Cnv.FromBase64 Method
Convert a base64-encoded string to an equivalent array of 8-bit unsigned integers.
Syntax
[C#]
public static byte[] FromBase64(
string s
)
[VB]
Public Shared Function FromBase64 (
s As String
) As Byte()
Parameters
- s String
- Base64-encoded data
Return Value
Binary data in byte array, or an empty array on error.
Remarks
Whitespace characters are ignored,
but other non-base64 characters will cause an error.
See Also
VB6/C equivalent: CNV_BytesFromB64Str
[Contents] [Index]