# Module endians

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

# Procs

    proc swapEndian64(outp, inp: pointer) {.raises: [], tags: [].}

  copies inp to outp swapping bytes. Both buffers are supposed to contain at least 8 bytes.

    proc swapEndian32(outp, inp: pointer) {.raises: [], tags: [].}

  copies inp to outp swapping bytes. Both buffers are supposed to contain at least 4 bytes.

    proc littleEndian64(outp, inp: pointer) {.inline, raises: [], tags: [].}

    proc littleEndian32(outp, inp: pointer) {.inline, raises: [], tags: [].}

    proc bigEndian64(outp, inp: pointer) {.inline, raises: [], tags: [].}

    proc bigEndian32(outp, inp: pointer) {.inline, raises: [], tags: [].}

Generated: 2013-05-21 09:55:24 UTC