HaskellWorks.Data.Vector.AsVector8s

hw-prim-0.6.3.2: Primitive functions and data types

Safe Haskell | None
Language | Haskell2010

HaskellWorks.Data.Vector.AsVector8s

# Documentation

class AsVector8s a where #

Methods

asVector8s :: Int -> a -> [Vector Word8] #

Represent the value as a list of Vector of `n` Word8 chunks. The last chunk will also be of the specified chunk size filled with trailing zeros.

#### Instances

Instances details

AsVector8s ByteString # |
Instance details Defined in HaskellWorks.Data.Vector.AsVector8s Methods asVector8s :: Int -> ByteString -> [Vector Word8] #
AsVector8s [ByteString] # |
Instance details Defined in HaskellWorks.Data.Vector.AsVector8s Methods asVector8s :: Int -> [ByteString] -> [Vector Word8] #