BaseDecode

BaseDecode["string"]

decodes the Base64 data contained in a string and returns the result as a byte array.

Details

  • The result of BaseDecode["string"] is a ByteArray object.
  • BaseDecode uses the default encoding scheme described in the internet standard recommendation RFC 4648.

Examples

open allclose all

Basic Examples  (1)

Decode a Base64-encoded string:

In[1]:=
Click for copyable input
Out[1]=

Scope  (1)

Properties & Relations  (5)

Possible Issues  (1)

See Also

BaseEncode  "Base64"  ImportString  StringToByteArray  ByteArrayToString  ByteArray  Uncompress

Introduced in 2018
(11.3)