rattletrap-10.0.0: Parse and generate Rocket League replays.
Safe HaskellNone
LanguageHaskell2010

Rattletrap.Utility.Helper

Description

This module provides helper functions for converting replays to and from both their binary format and JSON.

Synopsis

Documentation

decodeReplayFile :: Bool -> Bool -> ByteString -> Either String Replay Source #

Parses a raw replay.

encodeReplayJson :: Replay -> ByteString Source #

Encodes a replay as JSON.

encodeReplayFile :: Bool -> Replay -> ByteString Source #

Encodes a raw replay.