Safe Haskell | None |
---|---|
Language | Haskell2010 |
Rattletrap.Type.Section
Synopsis
- data Section a = Section {
- sectionSize :: Word32le
- sectionCrc :: Word32le
- sectionBody :: a
Documentation
A section is a large piece of a Replay
. It has a
32-bit size (in bytes), a 32-bit CRC (see Rattletrap.Utility.Crc), and then a
bunch of data (the body). This interface is provided so that you don't have
to think about the size and CRC.
Constructors
Section | |
Fields
|
Instances
Eq a => Eq (Section a) Source # | |
Ord a => Ord (Section a) Source # | |
Show a => Show (Section a) Source # | |
ToJSON a => ToJSON (Section a) Source # | |
Defined in Rattletrap.Type.Section | |
FromJSON a => FromJSON (Section a) Source # | |