Skip to main content

Binary.ApproximateLength

Returns the approximate length of the binary.

Syntax

Binary.ApproximateLength(
binary as binary
) as number

Remarks

Returns the approximate length of binary, or an error if the data source doesn't support an approximate length.

Examples

Example #1

Get the approximate length of the binary value.

Binary.ApproximateLength(Binary.FromText("i45WMlSKjQUA", BinaryEncoding.Base64))

Result:

9

Category

Binary