Portability | GHC |
---|---|
Stability | experimental |
Maintainer | Florian Hartwig <florian.j.hartwig@gmail.com> |
Safe Haskell | None |
- decode :: FromBencode a => ByteString -> Maybe a
- bValue :: Parser BValue
- bsParser :: Parser ByteString
- stringParser :: Parser BValue
- intParser :: Parser BValue
- listParser :: Parser BValue
- pairParser :: Parser (ByteString, BValue)
- dictParser :: Parser BValue
Documentation
decode :: FromBencode a => ByteString -> Maybe aSource
Deserialise a bencoded ByteString. If parsing or conversion fails, Nothing is returned.