Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. int32HexFixed :: FixedPrim Int32

    bytestring Data.ByteString.Builder.Prim

    Encode a Int32 using 8 nibbles.

  2. int64HexFixed :: FixedPrim Int64

    bytestring Data.ByteString.Builder.Prim

    Encode a Int64 using 16 nibbles.

  3. int8HexFixed :: FixedPrim Int8

    bytestring Data.ByteString.Builder.Prim

    Encode a Int8 using 2 nibbles (hexadecimal digits).

  4. liftFixedToBounded :: FixedPrim a -> BoundedPrim a

    bytestring Data.ByteString.Builder.Prim

    Lift a FixedPrim to a BoundedPrim.

  5. primFixed :: FixedPrim a -> a -> Builder

    bytestring Data.ByteString.Builder.Prim

    Encode a value with a FixedPrim.

  6. primMapByteStringFixed :: FixedPrim Word8 -> StrictByteString -> Builder

    bytestring Data.ByteString.Builder.Prim

    Heavy inlining. Encode all bytes of a StrictByteString from left-to-right with a FixedPrim. This function is quite versatile. For example, we can use it to construct a Builder that maps every byte before copying it to the buffer to be filled.

    mapToBuilder :: (Word8 -> Word8) -> S.StrictByteString -> Builder
    mapToBuilder f = primMapByteStringFixed (contramapF f word8)
    
    We can also use it to hex-encode a StrictByteString as shown by the byteStringHex example above.

  7. primMapLazyByteStringFixed :: FixedPrim Word8 -> LazyByteString -> Builder

    bytestring Data.ByteString.Builder.Prim

    Heavy inlining. Encode all bytes of a LazyByteString from left-to-right with a FixedPrim.

  8. primMapListFixed :: FixedPrim a -> [a] -> Builder

    bytestring Data.ByteString.Builder.Prim

    Encode a list of values from left-to-right with a FixedPrim.

  9. primUnfoldrFixed :: FixedPrim b -> (a -> Maybe (b, a)) -> a -> Builder

    bytestring Data.ByteString.Builder.Prim

    Encode a list of values represented as an unfoldr with a FixedPrim.

  10. word16HexFixed :: FixedPrim Word16

    bytestring Data.ByteString.Builder.Prim

    Encode a Word16 using 4 nibbles.

Page 27 of many | Previous | Next