IFClite TypeScript API
    Preparing search index...

    Function textDecoderAcceptsSab

    • Returns true when TextDecoder.decode() accepts a SAB-backed view in this realm. Cached after first call.

      Exported so call sites can short-circuit explicit copies (e.g. when they already know the view is SAB-backed and want to allocate a single scratch buffer for a whole batch).

      Returns boolean