Function interleave

  • Interleaves a sequence of bytes. When encrypting EO data, bytes are "woven" into each other.
    Used when encrypting packets and data files.

    Example

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

    Remarks

    This is an in-place operation.

    Parameters

    • data: Uint8Array

      the data to interleave

    Returns void

Generated using TypeDoc