• Isolates the input data such that decoder can read only blockLen bytes of data. The rest is hidden and used only successors.

    It fails when the input data don't have enough bytes.

    Parameters

    • blockLen: number

      A number of block bytes to read.

    Returns (<T>(decoder) => Decoder<T>)

    The isolated decoder.

Generated using TypeDoc