Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- main :: IO ()
- rattletrap :: String -> [String] -> IO ()
- decodeReplayFile :: Bool -> Bool -> ByteString -> Either ([String], SomeException) Replay
- encodeReplayJson :: Replay -> ByteString
- decodeReplayJson :: ByteString -> Either ([String], SomeException) Replay
- encodeReplayFile :: Bool -> Replay -> ByteString
Documentation
decodeReplayFile :: Bool -> Bool -> ByteString -> Either ([String], SomeException) Replay Source #
Parses a raw replay.
encodeReplayJson :: Replay -> ByteString Source #
Encodes a replay as JSON.
decodeReplayJson :: ByteString -> Either ([String], SomeException) Replay Source #
Parses a JSON replay.
encodeReplayFile :: Bool -> Replay -> ByteString Source #
Encodes a raw replay.