Function findFrameCompressedSize

  • Returns the size of the first compressed frame in frameBuf.

    Parameters

    • frameBuf: Uint8Array

      Buffer containing at least one complete Zstandard frame

    Returns number

    Size of the first frame in frameBuf