Lifted wrapper for ByteArray#.
Since ByteArray# is an unlifted type and not a member of kind Type,
things like [ByteArray#] or IO ByteArray# are ill-typed. To work around this
inconvenience this module provides a standard lifted wrapper, inhabiting Type.
Clients are expected to use ByteArray in higher-level APIs,
but wrap and unwrap ByteArray internally as they please
and use functions from GHC.Exts.
Constructors
Instances10IsList, Eq, Data, Ord, Show, Semigroup, …
IsList ByteArrayDefined in base-4.20.2.0 · Data.Array.ByteEq ByteArrayDefined in base-4.20.2.0 · Data.Array.ByteData ByteArrayDefined in base-4.20.2.0 · Data.Array.ByteOrd ByteArrayDefined in base-4.20.2.0 · Data.Array.ByteNon-lexicographic ordering. This compares the lengths of the byte arrays first and uses a lexicographic ordering if the lengths are equal. Subject to change between major versions.
Show ByteArrayDefined in base-4.20.2.0 · Data.Array.ByteSemigroup ByteArrayDefined in base-4.20.2.0 · Data.Array.ByteMonoid ByteArrayDefined in base-4.20.2.0 · Data.Array.ByteNFData ByteArrayDefined in deepseq-1.5.0.0 · Control.DeepSeqLift ByteArrayDefined in template-haskell-2.22.0.0 · Language.Haskell.TH.Syntaxtype Item ByteArray = Word8Defined in base-4.20.2.0 · Data.Array.Byte