rattletrap-11.2.13: Parse and generate Rocket League replays.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Rattletrap.Utility.Helper

Description

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

Synopsis

Documentation

encodeReplayJson :: Replay -> ByteString Source #

Encodes a replay as JSON.

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

Encodes a raw replay.