Can someone help me to understand the following text:
Both-byte orders
A numerical value represented by the hexadecimal representation (st uv wx yz) shall be recorded in an eight-byte field as (yz wx uv st st uv wx yz).
NOTE: For example, the decimal number 305419896 has (12 34 56 78) as its hexadecimal representation and is recorded as (78 56 34 12 12 34 56 78).
What does this mean for reading the value ? Do I simply get the 32-bit as an uint32 and that's all or do I need to convert something in order to get the correct value? Or do I only extract the 4 bytes from the 8 byte field in order to get the value?
EDIT: Would this work in a union like this?
union test { uint64 fullValue; uint8 FirstFourBytes[4]; uint8 SecondFourBytes[4]; } And then I access the SecondFourBytes Array to get the correct value.