Safe Haskell | None |
---|
- data B
- fromByteString :: Shape sh => sh -> ByteString -> Array B sh Word8
- toByteString :: Array B sh Word8 -> ByteString
Documentation
Strict ByteStrings arrays are represented as ForeignPtr buffers of Word8
fromByteString :: Shape sh => sh -> ByteString -> Array B sh Word8Source
O(1). Wrap a ByteString
as an array.
toByteString :: Array B sh Word8 -> ByteStringSource
O(1). Unpack a ByteString
from an array.