• Decompresses src into dst and returns a subarray into dst containing decompressed data.

    The length of decompress data is read from src. If dst is smaller than it, the new appropriately sized dst is allocated and returned.

    Throws an error if input is corrupted.

    This is a bare block compression without any framing.

    Parameters

    • src: Uint8Array
    • Optionaldst: Uint8Array

    Returns Uint8Array