jsaddle-0.9.9.3: Interface for JavaScript that works with GHCJS and GHC
Safe HaskellNone
LanguageHaskell2010

GHCJS.Buffer

Synopsis

Documentation

clone :: forall (any2 :: MutabilityType Type). MutableBuffer -> JSM (SomeBuffer any2) Source #

JavaScript properties

bytestring

toByteString :: Int -> Maybe Int -> Buffer -> GHCJSPure ByteString Source #

Wrap a Buffer into a ByteString using the given offset and length.