Hoogle Search
Within LTS Haskell 24.64 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
rebase Rebase.Prelude A compact representation of a Word8 vector. It has a lower memory overhead than a ByteString and does not contribute to heap fragmentation. It can be converted to or from a ByteString (at the cost of copying the string data). It supports very few other operations.
staticByteStringExp :: Quote m => ByteString -> m Expstore Data.Store.Internal No documentation available.
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