HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Modulebytestring-strict-builder-0.4.5.8Haskell2010

ByteString.StrictBuilder

  • 1 type
  • 18 values
datadata Builder
#
Instances4Show, IsString, Semigroup, Monoid
  • Show BuilderDefined in bytestring-strict-builder-0.4.5.8 · ByteString.StrictBuilder
  • IsString BuilderDefined in bytestring-strict-builder-0.4.5.8 · ByteString.StrictBuilder
  • Semigroup BuilderDefined in bytestring-strict-builder-0.4.5.8 · ByteString.StrictBuilder
  • Monoid BuilderDefined in bytestring-strict-builder-0.4.5.8 · ByteString.StrictBuilder

Converts into the standard lazy bytestring builder. Does so efficiently using the internal APIs of "bytestring", without producing any intermediate representation.

valuebuilderPtrFiller
  1. :: Builder
  2. -> (Int -> (Ptr Word8 -> IO ()) -> result)

    A continuation on the amount of bytes to be written and the action populating the pointer.

  3. -> result
#

Use the builder to populate a buffer. It is your responsibility to ensure that the bounds are not exceeded.