hs-asn1 icon indicating copy to clipboard operation
hs-asn1 copied to clipboard

asn1-parse: clarify usage of onNextContainer

Open schmittlauch opened this issue 4 years ago • 0 comments

The existing documentation of Data.ASN1.Parse.onNextContainer did not make clear that the supplied function neads to handle all elements of the container. This is due to the usage of runParseASN1, erroring on non-complete consumption of state, which is only apparent when reading the actual implementation code.

contributes to #37

schmittlauch avatar Apr 26 '20 18:04 schmittlauch