TO_NATIVE_ENDIAN2
- Macro
- August 22, 2025
Table of Contents
TO_NATIVE_ENDIAN2
TO_NATIVE_ENDIAN2
Description
Maintains native endianness for 16-bit values. This is a no-op that returns the value unchanged.
Parameters
Name | Direction | Description |
---|---|---|
x | in | 16-bit value in native byte order |
Success
Returns value in native byte order (unchanged).
Failure
Function cannot fail - pure passthrough operation.
Usage example (Cross-references)
- In
Io.c:2672
:
}
*v = TO_NATIVE_ENDIAN2(*v);
return i + 2; // Advance the stream pointer by 2 bytes.