octane-0.18.2: Parse Rocket League replays.

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.