octane-0.13.0: Parse Rocket League replays.

Safe HaskellNone
LanguageHaskell2010

Octane.Type.RawReplay

Synopsis

Documentation

data RawReplay Source #

A raw, unprocessed replay. Only enough parsing is done to make sure that the CRCs are valid.

See ReplayWithoutFrames.

Instances

Eq RawReplay Source # 
Show RawReplay Source # 
Generic RawReplay Source # 

Associated Types

type Rep RawReplay :: * -> * #

Binary RawReplay Source #

Decoding will fail if the CRCs don't match, but it is possible to encode invalid replays. That means decode (encode rawReplay) can fail.

NFData RawReplay Source # 

Methods

rnf :: RawReplay -> () #

type Rep RawReplay Source # 

newRawReplay Source #

Arguments

:: ByteString

The header.

-> ByteString

The content.

-> ByteString

The footer.

-> RawReplay 

Creates a new RawReplay. You should prefer this over directly using the constructor so that the sizes and CRCs are set correctly.