rattletrap-4.0.9: 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 :: ByteString -> Either String Replay #

Parses a raw replay.

encodeReplayJson :: Replay -> ByteString #

Encodes a replay as JSON.

decodeReplayJson :: ByteString -> Either String Replay #

Parses a JSON replay.

encodeReplayFile :: Replay -> ByteString #

Encodes a raw replay.