| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.ByteVector
Description
Provides conversion functions between strict ByteStrings and storable
Vectors.
- toByteVector :: ByteString -> Vector Word8
- fromByteVector :: Vector Word8 -> ByteString
Documentation
toByteVector :: ByteString -> Vector Word8 Source
Convert a ByteString into a storable Vector.
Since 0.6.1
fromByteVector :: Vector Word8 -> ByteString Source
Convert a storable Vector into a ByteString.
Since 0.6.1