octane-0.20.3: Parse Rocket League replays.

Safe HaskellNone
LanguageHaskell2010

Octane.Utility.Embed

Description

These helper functions are usually used with embedFile.

Synopsis

Documentation

decodeBimap :: (FromJSON (Map b a), Ord a, Ord b) => ByteString -> Bimap a b Source #

Decodes some bytes into a bidirection map. The bytes are assumed to be a JSON object mapping values to keys. That means the resulting bimap is twisted from what you might expect.