littleendianbinaryvalue(
DATA
)

The littleendianbinaryvalue( function converts little 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 ittle endian binary data (a byte, word, or longword) into an unsigned number (see Binary Data).

littleendianbinaryvalue(hextobinary("B9")) ☞ 185

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


See Also


History

VersionStatusNotes
1.0NewNew in this version.