# Module endians

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

# Procs

    proc swapEndian64*(outp, inp: pointer)

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

    proc swapEndian32*(outp, inp: pointer)

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

    proc littleEndian64*(outp, inp: pointer) {.inline.}

    proc littleEndian32*(outp, inp: pointer) {.inline.}

    proc bigEndian64*(outp, inp: pointer) {.inline.}

    proc bigEndian32*(outp, inp: pointer) {.inline.}

Generated: 2012-09-23 21:47:54 UTC