mono-traversable-0.8.0: Type classes for mapping, folding, and traversing monomorphic containers

Safe HaskellNone
LanguageHaskell2010

Data.ByteVector

Description

Provides conversion functions between strict ByteStrings and storable Vectors.

Synopsis

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