Skip to content

qie.base64EncodeBytes

Signature: qie.base64EncodeBytes(input)

Returns: String encodedValue - the Base64 encoded value

Base64 encode the input value.

Parameters

Type Name Description Default
byte[] input the byte array to be Base64 encoded

Example

var helloWorldByteArray = [72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100, 33];
var base64Encoded = qie.base64EncodeBytes(helloWorldByteArray);
var decodedValue = qie.base64Decode(base64Encoded); // Hello World!