Function getFrameContentSize

  • Returns the number of decompressed bytes in the provided frame.

    Wraps ZSTD_getFrameContentSize.

    Parameters

    • frameBuf: Uint8Array

      Buffer with Zstandard frame (or frame header)

    Returns number | null

    Number of decompressed bytes, or null if unknown