bigendianbinaryvalue(
DATA
)

The bigendianbinaryvalue( function converts big endian binary data (a byte, word, or longword) into an unsigned number (see Binary Data).


Parameters

This function has one parameter:

data – is the binary value that you want to convert into an unsigned number. This value must be a byte, a word (2 bytes), a longword (4 bytes) or a longlongword (8 bytes).


Description

This function converts big endian binary data (a byte, word, or longword) into an unsigned number (see Binary Data).

bigendianbinaryvalue(hextobinary("B9")) ☞ 185

To learn more about big endian vs. little endian binary data, see Endianness in Wikipedia. Note: The binaryvalue( function reads data using the default endian format for the current processor. As of 2015, all processors used in Apple projects use little endian format.


See Also


History

VersionStatusNotes
10.0NewNew in this version.