W3cubDocs

/Nim

Module endians

This module contains helpers that deal with different byte orders (endian).

Procs

proc swapEndian64(outp, inp: pointer) {...}{.inline, nosideeffect, raises: [], tags: [].}
proc swapEndian32(outp, inp: pointer) {...}{.inline, nosideeffect, raises: [], tags: [].}
proc swapEndian16(outp, inp: pointer) {...}{.inline, nosideeffect, raises: [], tags: [].}
proc littleEndian64(outp, inp: pointer) {...}{.inline, raises: [], tags: [].}
proc littleEndian32(outp, inp: pointer) {...}{.inline, raises: [], tags: [].}
proc littleEndian16(outp, inp: pointer) {...}{.inline, raises: [], tags: [].}
proc bigEndian64(outp, inp: pointer) {...}{.inline, raises: [], tags: [].}
proc bigEndian32(outp, inp: pointer) {...}{.inline, raises: [], tags: [].}
proc bigEndian16(outp, inp: pointer) {...}{.inline, raises: [], tags: [].}

© 2006–2018 Andreas Rumpf
Licensed under the MIT License.
https://nim-lang.org/docs/endians.html