Maintainer | andy22286@gmail.com |
---|---|
Safe Haskell | Unsafe |
Data.ByteArraySlice.Unsafe
Description
Documentation
data MutableByteArray s Source
Instances
class ByteArraySlice a whereSource
Methods
plusByteSize :: Int -> t a -> IntSource
readByteOff :: MutableByteArray s -> Int -> Prim s aSource
writeByteOff :: MutableByteArray s -> Int -> a -> Prim s ()Source
Instances
readByteOffDefault :: (Generic a, GByteArraySlice (Rep a)) => MutableByteArray s -> Int -> Prim s aSource
writeByteOffDefault :: (Generic a, GByteArraySlice (Rep a)) => MutableByteArray s -> Int -> a -> Prim s ()Source
byteSizeOf :: ByteArraySlice a => a -> IntSource