eolib - v2.0.1
    Preparing search index...

    Function deinterleave

    • Deinterleaves a sequence of bytes. This is the reverse of interleave.
      Used when decrypting packets and data files.

      Parameters

      • data: Uint8Array

        the data to deinterleave

      Returns void

      {0, 1, 2, 3, 4, 5} → {0, 2, 4, 5, 3, 1}
      

      This is an in-place operation.