Hoogle Search
Within LTS Haskell 24.63 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
byteStringToVector :: Storable a => ByteString -> Vector abytestring-to-vector Data.Vector.Storable.ByteString Convert a ByteString to a Vector. This function can produce Vectors which do not obey architectural alignment requirements. On x86 this should not be an issue.
package
bytestring-tree-builder A very efficient ByteString builder implementation based on the binary tree According to the benchmarks this builder implementation beats all the alternatives. It is especially well-suited for generating strict bytestrings, beating the standard builder by at least the factor of 4.
byteStringOf :: Parser s a -> Parser s ByteStringdjot Djot.Parse Returns bytestring consumed by parse.
byteStringCopy :: ByteString -> Builderfast-builder Data.ByteString.FastBuilder Turn a ByteString to a Builder. The ByteString will be copied to the buffer, regardless of the size.
byteStringInsert :: ByteString -> Builderfast-builder Data.ByteString.FastBuilder Turn a ByteString to a Builder. When possible, the given ByteString will not be copied, and inserted directly into the output instead.
byteStringThreshold :: Int -> ByteString -> Builderfast-builder Data.ByteString.FastBuilder Turn a ByteString to a Builder. If the size of the ByteString is larger than the given threshold, avoid copying it as much as possible.
byteStringCopy :: ByteString -> Builderfast-builder Data.ByteString.FastBuilder.Internal Turn a ByteString to a Builder. The ByteString will be copied to the buffer, regardless of the size.
byteStringCopyNoCheck :: ByteString -> Builderfast-builder Data.ByteString.FastBuilder.Internal Like byteStringCopy, but assumes that the current buffer is large enough.
byteStringInsert :: ByteString -> Builderfast-builder Data.ByteString.FastBuilder.Internal Turn a ByteString to a Builder. When possible, the given ByteString will not be copied, and inserted directly into the output instead.
byteStringThreshold :: Int -> ByteString -> Builderfast-builder Data.ByteString.FastBuilder.Internal Turn a ByteString to a Builder. If the size of the ByteString is larger than the given threshold, avoid copying it as much as possible.