Safe Haskell | None |
---|---|
Language | Haskell2010 |
Rattletrap.Type.Content
Documentation
data ContentWith frames Source #
Contains low-level game data about a Replay
.
Constructors
Content | |
Fields
|
Instances
FromJSON frames => FromJSON (ContentWith frames) Source # | |
Defined in Rattletrap.Type.Content Methods parseJSON :: Value -> Parser (ContentWith frames) # parseJSONList :: Value -> Parser [ContentWith frames] # omittedField :: Maybe (ContentWith frames) # | |
ToJSON frames => ToJSON (ContentWith frames) Source # | |
Defined in Rattletrap.Type.Content Methods toJSON :: ContentWith frames -> Value # toEncoding :: ContentWith frames -> Encoding # toJSONList :: [ContentWith frames] -> Value # toEncodingList :: [ContentWith frames] -> Encoding # omitField :: ContentWith frames -> Bool # | |
Show frames => Show (ContentWith frames) Source # | |
Defined in Rattletrap.Type.Content Methods showsPrec :: Int -> ContentWith frames -> ShowS # show :: ContentWith frames -> String # showList :: [ContentWith frames] -> ShowS # | |
Eq frames => Eq (ContentWith frames) Source # | |
Defined in Rattletrap.Type.Content Methods (==) :: ContentWith frames -> ContentWith frames -> Bool # (/=) :: ContentWith frames -> ContentWith frames -> Bool # |
Arguments
:: Maybe Str | |
-> Version | Version numbers, usually from |
-> Int | The number of frames in the stream, usually from
|
-> Word | The maximum number of channels in the stream, usually from
|
-> Maybe Str | |
-> ByteGet Content |