BinaryLen

From AutoIt Wiki

Jump to: navigation, search

BinaryLen returns the number of bytes in a binary variant. Adapted from AutoIt docs.

Contents

[edit] Syntax

$x = BinaryLen(bin)

[edit] Parameters

binThe binary data to evaluate.

[edit] Return Value

Returns the length of the binary data in bytes.

[edit] Example

$bin = Binary("0x10203040")
MsgBox(0,"Length in bytes:", BinaryLen($bin))

[edit] Related Functions

Binary BinaryMid

Personal tools