|
Fray Engine
|
Internal helpers for big-endian encoding. More...
Functions | |
| void | put32 (F_uchar *out, F_ulong v) |
| Writes a 32-bit value as 4 big-endian bytes. | |
| F_ulong | get32 (const F_uchar *in) |
| Reads 4 big-endian bytes as a 32-bit value. | |
Internal helpers for big-endian encoding.
Reads 4 big-endian bytes as a 32-bit value.
| in | Source; must hold at least 4 bytes. |
Definition at line 206 of file message.hpp.
Writes a 32-bit value as 4 big-endian bytes.
| out | Destination; must have room for 4 bytes. |
| v | Value to write. |
Definition at line 191 of file message.hpp.