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.
word32HexFixed :: FixedPrim Word32bytestring Data.ByteString.Builder.Prim Encode a Word32 using 8 nibbles.
word64HexFixed :: FixedPrim Word64bytestring Data.ByteString.Builder.Prim Encode a Word64 using 16 nibbles.
word8HexFixed :: FixedPrim Word8bytestring Data.ByteString.Builder.Prim Encode a Word8 using 2 nibbles (hexadecimal digits).
-
bytestring Data.ByteString.Builder.Prim.Internal A builder primitive that always results in a sequence of bytes of a pre-determined, fixed size.
fixedPrim :: Int -> (a -> Ptr Word8 -> IO ()) -> FixedPrim abytestring Data.ByteString.Builder.Prim.Internal No documentation available.
liftFixedToBounded :: FixedPrim a -> BoundedPrim abytestring Data.ByteString.Builder.Prim.Internal Lift a FixedPrim to a BoundedPrim.
isInfixOf :: ByteString -> ByteString -> Boolbytestring Data.ByteString.Char8 Check whether one string is a substring of another.
isPrefixOf :: ByteString -> ByteString -> Boolbytestring Data.ByteString.Char8 O(n) The isPrefixOf function takes two ByteStrings and returns True if the first is a prefix of the second.
isSuffixOf :: ByteString -> ByteString -> Boolbytestring Data.ByteString.Char8 O(n) The isSuffixOf function takes two ByteStrings and returns True iff the first is a suffix of the second. The following holds:
isSuffixOf x y == reverse x `isPrefixOf` reverse y
However, the real implementation uses memcmp to compare the end of the string only, with no reverse required..stripPrefix :: ByteString -> ByteString -> Maybe ByteStringbytestring Data.ByteString.Char8 O(n) The stripPrefix function takes two ByteStrings and returns Just the remainder of the second iff the first is its prefix, and otherwise Nothing.