::
GHC 10.0.0.20260917 · lts/ghc-10.0.x · c7d136e · 2026-10-12
Moduleghcjs-base-0.8.0.4
byteLength :: SomeBuffer any -> Int
clone :: MutableBuffer -> IO (SomeBuffer any2)
create :: Int -> IO MutableBuffer
createFromArrayBuffer :: SomeArrayBuffer any -> SomeBuffer any
freeze :: MutableBuffer -> IO Buffer
fromByteArray :: ByteArray -> Buffer
fromByteArrayPrim :: ByteArray# -> Buffer
fromByteString :: ByteString -> (Buffer, Int, Int)
fromMutableByteArray :: MutableByteArray s -> Buffer
fromMutableByteArrayPrim :: MutableByteArray# s -> Buffer
getArrayBuffer :: SomeBuffer any -> SomeArrayBuffer any
getDataView :: SomeBuffer any -> SomeDataView any
getFloat32Array :: SomeBuffer any -> SomeFloat32Array any
getFloat64Array :: SomeBuffer any -> SomeFloat64Array any
getInt32Array :: SomeBuffer any -> SomeInt32Array any
getUint16Array :: SomeBuffer any -> SomeUint16Array any
getUint8Array :: SomeBuffer any -> SomeUint8Array any
thaw :: Buffer -> IO MutableBuffer
toByteArray :: Buffer -> ByteArray
toByteArrayPrim :: Buffer -> ByteArray#
toByteString :: Int -> Maybe Int -> Buffer -> ByteString
toMutableByteArray :: Buffer -> MutableByteArray s
toMutableByteArrayPrim :: Buffer -> MutableByteArray# s
toPtr :: MutableBuffer -> Ptr a
unsafeToPtr :: Buffer -> Ptr a
type Buffer = SomeBuffer Immutable
type MutableBuffer = SomeBuffer Mutable