Garry's Mod Wiki

util.Base64Decode

  string util.Base64Decode( string str )

Description

Decodes the specified string from base64.

Arguments

1 string str
String to decode.

Returns

1 string
The raw bytes of the decoded string.

Example

Decodes a string.

local decode = util.Base64Decode( "QmFzZTY0IEVuY29kaW5n" ) print(decode)
Output: Base64 Encoding