This module contains helpers that deal with different byte orders (endian).
Unstable API.
Procs
proc swapEndian64(outp, inp: pointer) {...}{.inline, noSideEffect, raises: [], tags: [].}
- Source Edit
proc swapEndian32(outp, inp: pointer) {...}{.inline, noSideEffect, raises: [], tags: [].}
- Source Edit
proc swapEndian16(outp, inp: pointer) {...}{.inline, noSideEffect, raises: [], tags: [].}
- Source Edit
proc littleEndian64(outp, inp: pointer) {...}{.inline, raises: [], tags: [].}
- Source Edit
proc littleEndian32(outp, inp: pointer) {...}{.inline, raises: [], tags: [].}
- Source Edit
proc littleEndian16(outp, inp: pointer) {...}{.inline, raises: [], tags: [].}
- Source Edit
proc bigEndian64(outp, inp: pointer) {...}{.inline, raises: [], tags: [].}
- Source Edit
proc bigEndian32(outp, inp: pointer) {...}{.inline, raises: [], tags: [].}
- Source Edit
proc bigEndian16(outp, inp: pointer) {...}{.inline, raises: [], tags: [].}
- Source Edit