rattletrap-6.2.0: Parse and generate Rocket League replays.

Safe HaskellNone
LanguageHaskell2010

Rattletrap.Type.Section

Synopsis

Documentation

data Section a Source #

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 # 
Instance details

Defined in Rattletrap.Type.Section

Methods

(==) :: Section a -> Section a -> Bool #

(/=) :: Section a -> Section a -> Bool #

Ord a => Ord (Section a) Source # 
Instance details

Defined in Rattletrap.Type.Section

Methods

compare :: Section a -> Section a -> Ordering #

(<) :: Section a -> Section a -> Bool #

(<=) :: Section a -> Section a -> Bool #

(>) :: Section a -> Section a -> Bool #

(>=) :: Section a -> Section a -> Bool #

max :: Section a -> Section a -> Section a #

min :: Section a -> Section a -> Section a #

Show a => Show (Section a) Source # 
Instance details

Defined in Rattletrap.Type.Section

Methods

showsPrec :: Int -> Section a -> ShowS #

show :: Section a -> String #

showList :: [Section a] -> ShowS #

ToJSON a => ToJSON (Section a) Source # 
Instance details

Defined in Rattletrap.Type.Section

FromJSON a => FromJSON (Section a) Source # 
Instance details

Defined in Rattletrap.Type.Section