jsaddle-0.9.8.0: Interface for JavaScript that works with GHCJS and GHC
Safe HaskellNone
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