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.NET]
Public Shared Function FromBase64 ( _
s As String _
) As Byte()
Parameters
- s
- 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]