Documentation - v0.27.2
    Preparing search index...

    Function deflateMaxSize

    • Deflate some data with zlib headers and max output size

      Parameters

      • bytes: Uint8Array
      • size: number

      Returns Uint8Array<ArrayBufferLike> | null

      null if the compressed data is larger than size, otherwise the compressed data