Base64Encode

Description

Encodes a byte array argument into a Base64 byte array.

Syntax

Base64Encode(bytearray_expression[, chunked])

Arguments

  bytearray_expression - an expression that represents a bytearray value to be encoded

  chunked (optional) - if true, the output will be chunked into 76 characters blocks (boolean, default false).

Examples


Base64Encode(GetBytes('hello world')) returns the byte array of the Base 64 encoded string 'aGVsbG8gd29ybGQ='.

Return value datatype

Bytearray

Impact of null value

If input is null, returns null.