hw-succinct-0.0.0.2: Conduits for tokenizing streams.

Safe HaskellNone
LanguageHaskell2010

HaskellWorks.Data.Vector.Storable.ByteString

Description

Convert between ByteString and Vector.Storable without copying.

Synopsis

Documentation

See also the caveats mentioned in the package's top-level documentation.

byteStringToVector :: Storable a => ByteString -> Vector a Source

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.