Safe Haskell | None |
---|
Provides conversion functions between strict ByteString
s and storable
Vector
s.
- 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