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.

  1. data ShortByteString

    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.

  2. staticByteStringExp :: Quote m => ByteString -> m Exp

    store Data.Store.Internal

    No documentation available.

  3. 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.

  4. package streaming-bytestring

    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.

  5. 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

  6. toStreamingByteStringWith :: forall (m :: Type -> Type) . MonadIO m => AllocationStrategy -> Builder -> ByteStream m ()

    streaming-bytestring Streaming.ByteString

    Take a builder and convert it to a genuine streaming bytestring, using a specific allocation strategy.

  7. 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

  8. toStreamingByteStringWith :: forall (m :: Type -> Type) . MonadIO m => AllocationStrategy -> Builder -> ByteStream m ()

    streaming-bytestring Streaming.ByteString.Char8

    Take a builder and convert it to a genuine streaming bytestring, using a specific allocation strategy.

  9. bracketByteString :: forall (m :: Type -> Type) a b . MonadResource m => IO a -> (a -> IO ()) -> (a -> ByteStream m b) -> ByteStream m b

    streaming-bytestring Streaming.ByteString.Internal

    Like bracket, but specialized for ByteString.

  10. deriveAvroFromByteString :: ByteString -> Q [Dec]

    avro Data.Avro.Deriving

    Same as deriveAvro but takes a ByteString rather than FilePath

Page 52 of many | Previous | Next