iya-sts
    Preparing search index...
    inflate: (
        buf: any,
        what: any,
        opts: any,
    ) =>
        | { code: any; detail: any; field: any; ok: boolean }
        | { ok: boolean; value: any } = inflate

    Type Declaration

      • (
            buf: any,
            what: any,
            opts: any,
        ):
            | { code: any; detail: any; field: any; ok: boolean }
            | { ok: boolean; value: any }
      • Inflates raw DEFLATE data with a ceiling on the output, so a decompression bomb is refused rather than expanded.

        Parameters

        • buf: any

          the compressed bytes

        • what: any

          what the message is, for the refusal; message if omitted

        • opts: any

          optional max, the output ceiling (CAP.LARGE by default)

        Returns
            | { code: any; detail: any; field: any; ok: boolean }
            | { ok: boolean; value: any }

        { ok: true, value } with the inflated Buffer, or a refusal whose code is too-large or not-deflated