Hoogle Search
Within LTS Haskell 24.63 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
copyByteString :: MonadIO m => ByteBuffer -> ByteString -> m ()store System.IO.ByteBuffer Copy the contents of a ByteString to a ByteBuffer. If necessary, the ByteBuffer is enlarged and/or already consumed bytes are dropped.
-
Fast, effectful byte streams. This library enables fast and safe streaming of byte data, in either Word8 or Char form. It is a core addition to the streaming ecosystem and avoids the usual pitfalls of combinbing lazy ByteStrings with lazy IO. We follow the philosophy shared by streaming that "the best API is the one you already know". Thus this library mirrors the API of the bytestring library as closely as possible. See the module documentation and the README for more information.
toStreamingByteString :: forall (m :: Type -> Type) . MonadIO m => Builder -> ByteStream m ()streaming-bytestring Streaming.ByteString Take a builder constructed otherwise and convert it to a genuine streaming bytestring.
>>> Q.putStrLn $ Q.toStreamingByteString $ stringUtf8 "哈斯克尔" <> stringUtf8 " " <> integerDec 98 哈斯克尔 98
This benchmark shows its performance is indistinguishable from toLazyByteString-
streaming-bytestring Streaming.ByteString Take a builder and convert it to a genuine streaming bytestring, using a specific allocation strategy.
toStreamingByteString :: forall (m :: Type -> Type) . MonadIO m => Builder -> ByteStream m ()streaming-bytestring Streaming.ByteString.Char8 Take a builder constructed otherwise and convert it to a genuine streaming bytestring.
>>> Q.putStrLn $ Q.toStreamingByteString $ stringUtf8 "哈斯克尔" <> stringUtf8 " " <> integerDec 98 哈斯克尔 98
This benchmark shows its performance is indistinguishable from toLazyByteString-
streaming-bytestring Streaming.ByteString.Char8 Take a builder and convert it to a genuine streaming bytestring, using a specific allocation strategy.
-
streaming-bytestring Streaming.ByteString.Internal Like bracket, but specialized for ByteString.
deriveAvroFromByteString :: ByteString -> Q [Dec]avro Data.Avro.Deriving Same as deriveAvro but takes a ByteString rather than FilePath
makeSchemaFromByteString :: ByteString -> Q Expavro Data.Avro.Deriving No documentation available.
-
Implementation of BASE58 transcoding for ByteStrings Implementation of BASE58 transcoding copy-pasted from haskoin package