| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ivory.Serialize.LittleEndian
Documentation
class Packable a where Source #
Instances
| Packable (Stored IFloat) Source # | |
| Packable (Stored IDouble) Source # | |
| Packable (Stored IBool) Source # | |
| Packable (Stored Uint8) Source # | |
| Packable (Stored Uint16) Source # | |
| Packable (Stored Uint32) Source # | |
| Packable (Stored Uint64) Source # | |
| Packable (Stored Sint8) Source # | |
| Packable (Stored Sint16) Source # | |
| Packable (Stored Sint32) Source # | |
| Packable (Stored Sint64) Source # | |
| (ANat len, IvoryArea area, Packable area) => Packable (Array len area) Source # | |
Constructors
| PackRep | |
Fields
| |
repack :: (IvoryArea a, IvoryZero a) => (forall s1 s2 eff. ConstRef s1 a -> Ref s2 b -> Ivory eff ()) -> (forall s1 s2 eff. ConstRef s1 b -> Ref s2 a -> Ivory eff ()) -> PackRep a -> PackRep b Source #
repackV :: (IvoryZeroVal a, IvoryStore a, IvoryStore b) => (a -> b) -> (b -> a) -> PackRep (Stored a) -> PackRep (Stored b) Source #
data WrappedPackRep a Source #
Constructors
| WrappedPackRep | |
Fields
| |
wrapPackRep :: forall a. IvoryArea a => String -> PackRep a -> WrappedPackRep a Source #
packLabel' :: (IvoryStruct sym, IvoryArea t) => Label sym t -> PackRep t -> PackLabel sym Source #