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