Hoogle Search
Within LTS Haskell 24.43 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
protolude Protolude No documentation available.
putByteString :: MonadIO m => ByteString -> m ()protolude Protolude.Show No documentation available.
putLByteString :: MonadIO m => ByteString -> m ()protolude Protolude.Show No documentation available.
unsafeByteStringToCArray :: (Ix i, Storable e) => (i, i) -> ByteString -> Maybe (CArray i e)carray Data.Array.CArray O(1) Turn a ByteString into a CArray. Unsafe because it uses castForeignPtr and thus is not platform independent. Returns Nothing if the range specified is larger than the size of the ByteString or the start of the ByteString does not fulfil the alignment requirement of the resulting CArray (as specified by the Storable instance).
unsafeCArrayToByteString :: Storable e => CArray i e -> ByteStringcarray Data.Array.CArray O(1) Turn a CArray into a ByteString. Unsafe because it uses castForeignPtr and thus is not platform independent.
unsafeByteStringToCArray :: (Ix i, Storable e) => (i, i) -> ByteString -> Maybe (CArray i e)carray Data.Array.CArray.Base O(1) Turn a ByteString into a CArray. Unsafe because it uses castForeignPtr and thus is not platform independent. Returns Nothing if the range specified is larger than the size of the ByteString or the start of the ByteString does not fulfil the alignment requirement of the resulting CArray (as specified by the Storable instance).
unsafeCArrayToByteString :: Storable e => CArray i e -> ByteStringcarray Data.Array.CArray.Base O(1) Turn a CArray into a ByteString. Unsafe because it uses castForeignPtr and thus is not platform independent.
bitmapDataOfByteString :: Int -> Int -> BitmapFormat -> ByteString -> Bool -> BitmapDatagloss Graphics.Gloss.Data.Bitmap No documentation available.
bitmapOfByteString :: Int -> Int -> BitmapFormat -> ByteString -> Bool -> Picturegloss Graphics.Gloss.Data.Bitmap O(size). Copy a ByteString of RGBA data into a bitmap with the given width and height. The boolean flag controls whether Gloss should cache the data between frames for speed. If you are programatically generating the image for each frame then use False. If you have loaded it from a file then use True.
fromByteString :: ByteString -> GHCJSPure (Buffer, Int, Int)jsaddle GHCJS.Buffer No documentation available.