Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Bytes = Bytes {}
- newtype Bytes# :: TYPE ('TupleRep '['UnliftedRep, 'IntRep, 'IntRep]) where
- Bytes# :: (# ByteArray#, Int#, Int# #) -> Bytes#
- data MutableBytes s = MutableBytes {}
- data UnmanagedBytes = UnmanagedBytes {}
- data BytesN (n :: Nat) = BytesN {}
- newtype ByteArrayN (n :: Nat) = ByteArrayN {}
Documentation
A slice of a ByteArray
.
newtype Bytes# :: TYPE ('TupleRep '['UnliftedRep, 'IntRep, 'IntRep]) where Source #
Bytes# :: (# ByteArray#, Int#, Int# #) -> Bytes# |
data BytesN (n :: Nat) Source #
A slice of a ByteArray
whose compile-time-known length is represented
by a phantom type variable. Consumers of this data constructor must be
careful to preserve the expected invariant.
newtype ByteArrayN (n :: Nat) Source #
A ByteArray
whose compile-time-known length is represented
by a phantom type variable. Consumers of this data constructor must be
careful to preserve the expected invariant.