Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
ber :: AsnDecoding a -> ByteString -> Either String a Source #
sequence :: FieldDecoding a -> AsnDecoding a Source #
sequenceOf :: AsnDecoding a -> AsnDecoding [a] Source #
required :: FieldName -> AsnDecoding a -> FieldDecoding a Source #
optional :: FieldName -> AsnDecoding a -> FieldDecoding (Maybe a) Source #
defaulted :: Show a => FieldName -> AsnDecoding a -> a -> FieldDecoding a Source #
integerRanged :: Integer -> Integer -> AsnDecoding Integer Source #
int32 :: AsnDecoding Int32 Source #
int :: AsnDecoding Int Source #
null :: AsnDecoding () Source #
null' :: a -> AsnDecoding a Source #
choice :: [OptionDecoding a] -> AsnDecoding a Source #
option :: OptionName -> AsnDecoding a -> OptionDecoding a Source #
tag :: TagClass -> Int -> Explicitness -> AsnDecoding a -> AsnDecoding a Source #
mapFailable :: (a -> Either String b) -> AsnDecoding a -> AsnDecoding b Source #