jsaddle
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