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.

  1. byteStringCopy :: StrictByteString -> Builder

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

  2. byteStringInsert :: StrictByteString -> Builder

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

  3. byteStringThreshold :: Int -> StrictByteString -> Builder

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

  4. byteStringCopy :: StrictByteString -> Builder

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

  5. byteStringFromBuffer :: Buffer -> StrictByteString

    bytestring Data.ByteString.Builder.Internal

    Convert the filled part of a Buffer to a StrictByteString.

  6. byteStringInsert :: StrictByteString -> Builder

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

  7. byteStringThreshold :: Int -> StrictByteString -> Builder

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

  8. bytestringsNotEqualButShouldHaveBeenEqual :: ByteString -> ByteString -> IO Assertion

    sydtest Test.Syd

    An assertion that says two ByteStrings should have been equal according to ==.

  9. bytestringsNotEqualButShouldHaveBeenEqual :: ByteString -> ByteString -> IO Assertion

    sydtest Test.Syd.Expectation

    An assertion that says two ByteStrings should have been equal according to ==.

  10. byteStringToCString :: ByteString -> IO CString

    haskell-gi-base Data.GI.Base.BasicConversions

    No documentation available.

Page 20 of many | Previous | Next