Function Reference


BinaryLen

Returns the number of bytes in a binary variant.

BinaryLen ( binary )

Parameters

binary The binary data to evaluate.

Return Value

Returns the length of the binary data in bytes.

Related

Binary, BinaryMid

Example

#include <MsgBoxConstants.au3>

Local $dBinary = Binary("0x10203040") ; Create binary data from a string.
MsgBox($MB_SYSTEMMODAL, "", "The length of the binary is: " & BinaryLen($dBinary))