jsaddle-0.9.9.2: Interface for JavaScript that works with GHCJS and GHC
Safe HaskellSafe-Inferred
LanguageHaskell2010

JavaScript.TypedArray.ArrayBuffer

Synopsis

Documentation

unsafeFreeze :: MutableArrayBuffer -> JSM ArrayBuffer Source #

Create an immutable ArrayBuffer from a MutableArrayBuffer without copying. The result shares the buffer with the argument, not modify the data in the MutableArrayBuffer after freezing