Endo
    Preparing search index...
    • Wraps a Uint8Array view's contents in an immutable ArrayBuffer.

      Uses the sliceBufferToImmutable ponyfill from @endo/immutable-arraybuffer so the caller does not need to have arranged for the ArrayBuffer.prototype.sliceToImmutable shim to be installed first. The resulting buffer carries the 'byteArray' passStyle and is safe to share across vat boundaries. The result is hardened so it is passable.

      Honors the view's byteOffset and byteLength, so passing a subarray copies only that window.

      Parameters

      • view: Uint8Array<ArrayBufferLike>

      Returns ArrayBuffer

      A hardened immutable ArrayBuffer.