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.
byteStringCopy :: StrictByteString -> Builderbytestring Data.ByteString.Builder.Extra Construct a Builder that copies the StrictByteString. Use this function to create Builders from smallish (<= 4kb) StrictByteStrings or if you need to guarantee that the StrictByteString is not shared with the chunks generated by the Builder.
byteStringInsert :: StrictByteString -> Builderbytestring Data.ByteString.Builder.Extra Construct a Builder that always inserts the StrictByteString directly as a chunk. This implies flushing the output buffer, even if it contains just a single byte. You should therefore use byteStringInsert only for large (> 8kb) StrictByteStrings. Otherwise, the generated chunks are too fragmented to be processed efficiently afterwards.
byteStringThreshold :: Int -> StrictByteString -> Builderbytestring Data.ByteString.Builder.Extra Construct a Builder that copies the StrictByteStrings, if it is smaller than the treshold, and inserts it directly otherwise. For example, byteStringThreshold 1024 copies StrictByteStrings whose size is less or equal to 1kb, and inserts them directly otherwise. This implies that the average chunk-size of the generated LazyByteString may be as low as 513 bytes, as there could always be just a single byte between the directly inserted 1025 byte, StrictByteStrings.
byteStringCopy :: StrictByteString -> Builderbytestring Data.ByteString.Builder.Internal Construct a Builder that copies the StrictByteString. Use this function to create Builders from smallish (<= 4kb) StrictByteStrings or if you need to guarantee that the StrictByteString is not shared with the chunks generated by the Builder.
byteStringFromBuffer :: Buffer -> StrictByteStringbytestring Data.ByteString.Builder.Internal Convert the filled part of a Buffer to a StrictByteString.
byteStringInsert :: StrictByteString -> Builderbytestring Data.ByteString.Builder.Internal Construct a Builder that always inserts the StrictByteString directly as a chunk. This implies flushing the output buffer, even if it contains just a single byte. You should therefore use byteStringInsert only for large (> 8kb) StrictByteStrings. Otherwise, the generated chunks are too fragmented to be processed efficiently afterwards.
byteStringThreshold :: Int -> StrictByteString -> Builderbytestring Data.ByteString.Builder.Internal Construct a Builder that copies the StrictByteStrings, if it is smaller than the treshold, and inserts it directly otherwise. For example, byteStringThreshold 1024 copies StrictByteStrings whose size is less or equal to 1kb, and inserts them directly otherwise. This implies that the average chunk-size of the generated LazyByteString may be as low as 513 bytes, as there could always be just a single byte between the directly inserted 1025 byte, StrictByteStrings.
bytestringsNotEqualButShouldHaveBeenEqual :: ByteString -> ByteString -> IO Assertionsydtest Test.Syd An assertion that says two ByteStrings should have been equal according to ==.
bytestringsNotEqualButShouldHaveBeenEqual :: ByteString -> ByteString -> IO Assertionsydtest Test.Syd.Expectation An assertion that says two ByteStrings should have been equal according to ==.
byteStringToCString :: ByteString -> IO CStringhaskell-gi-base Data.GI.Base.BasicConversions No documentation available.