Declarations of byteswapping macros.
s_swap_le16 | Swap a 16 bit little endian integer. |
s_swap_le32 | Swap a 32 bit little endian integer. |
s_swap_le_flt | Swap a little endian float data representation. |
s_swap_le_dbl | Swap a little endian double data representation. |
s_swap_le_bytes | Swap a s_byte array little endian data representation. |
s_swap_le_bytes16 | Swap a 16 bit little endian integer array. |
s_swap_le_bytes32 | Swap a 32 bit little endian integer array. |
s_swap_be16 | Swap a 16 bit big endian integer. |
s_swap_be32 | Swap a 32 bit big endian integer. |
s_swap_be_flt | Swap a big endian float data representation. |
s_swap_be_dbl | Swap a big endian double data representation. |
s_swap_be_bytes | Swap a s_byte array big endian data representation. |
s_swap_be_bytes16 | Swap a 16 bit big endian integer array. |
s_swap_be_bytes32 | Swap a 32 bit big endian integer array. |
Swap a 16 bit little endian integer.
Parameters: |
|
---|---|
Return: | A byte-swapped 16 bit integer. |
Swap a 32 bit little endian integer.
Parameters: |
|
---|---|
Return: | A byte-swapped 32 bit integer. |
Swap a little endian float data representation.
Parameters: |
|
---|---|
Return: | A byte-swapped float. |
Swap a little endian double data representation.
Parameters: |
|
---|---|
Return: | A byte-swapped double. |
Swap a s_byte array little endian data representation.
Parameters: | |
---|---|
Return: | A byte-swapped s_byte array. |
Swap a 16 bit little endian integer array.
Parameters: |
|
---|---|
Return: | A byte-swapped 16 bit integer array. |
Swap a 32 bit little endian integer array.
Parameters: |
|
---|---|
Return: | A byte-swapped 32 bit integer array. |
Swap a 16 bit big endian integer.
Parameters: |
|
---|---|
Return: | A byte-swapped 16 bit integer. |
Swap a 32 bit big endian integer.
Parameters: |
|
---|---|
Return: | A byte-swapped 32 bit integer. |
Swap a big endian float data representation.
Parameters: |
|
---|---|
Return: | A byte-swapped float. |
Swap a big endian double data representation.
Parameters: |
|
---|---|
Return: | A byte-swapped double. |
Swap a s_byte array big endian data representation.
Parameters: | |
---|---|
Return: | A byte-swapped s_byte array. |
Swap a 16 bit big endian integer array.
Parameters: |
|
---|---|
Return: | A byte-swapped 16 bit integer array. |
Swap a 32 bit big endian integer array.
Parameters: |
|
---|---|
Return: | A byte-swapped 32 bit integer array. |