• Converts the given chunks into a stack of buffers.

    Parameters

    • chunks: Uint8Array | (number | Uint8Array)[]

      The chunks to convert.

    Returns Uint8Array[]

    The stack of buffers.