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