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.
InsertByteString :: !Ptr Word8 -> ByteString -> Responsefast-builder Data.ByteString.FastBuilder.Internal The builder thread has partially filled the current chunk, and wants to emit the bytestring to be included in the final output.
toLazyByteString :: Builder -> ByteStringfast-builder Data.ByteString.FastBuilder.Internal Turn a Builder into a lazy ByteString. Performance hint: when the resulting ByteString does not fit in one chunk, this function forks a thread. Due to this, the performance degrades sharply if you use this function from a bound thread. Note in particular that the main thread is a bound thread when you use ghc -threaded. To avoid this problem, do one of these:
- Make sure the resulting ByteString is consumed in an unbound thread. Consider using runInUnboundThread for this.
- Use other function to run the Builder instead. Functions that don't return a lazy ByteString do not have this issue.
- Link your program without -threaded.
toLazyByteStringWith :: Int -> Int -> Builder -> ByteStringfast-builder Data.ByteString.FastBuilder.Internal Like toLazyByteString, but allows the user to specify the initial and the subsequent desired buffer sizes.
toStrictByteString :: Builder -> ByteStringfast-builder Data.ByteString.FastBuilder.Internal Turn a Builder into a strict ByteString.
-
Library for manipulating RawFilePaths in a cross platform way. This package provides functionality for manipulating RawFilePath values. It can be used as a drop in replacement for the filepath library to get the benefits of using ByteStrings. It provides three modules:
- System.FilePath.Posix.ByteString manipulates POSIX/Linux style RawFilePath values (with / as the path separator).
- System.FilePath.Windows.ByteString manipulates Windows style RawFilePath values (with either \ or / as the path separator, and deals with drives).
- System.FilePath.ByteString is an alias for the module appropriate to your platform.
-
flat Data.ByteString.Convert Convert to/from strict ByteStrings
fromByteString :: AsByteString a => ByteString -> aflat Data.ByteString.Convert No documentation available.
toByteString :: AsByteString a => a -> ByteStringflat Data.ByteString.Convert No documentation available.
-
flat Flat.Decoder No documentation available.
dLazyByteString :: Get ByteStringflat Flat.Decoder No documentation available.