diff --git a/design/branched-generated-encoder.md b/design/branched-generated-encoder.md index 9360b6f..5bacc24 100644 --- a/design/branched-generated-encoder.md +++ b/design/branched-generated-encoder.md @@ -121,3 +121,8 @@ The functions shall take a pointer to a type that accepts any type like (~) the destination's base type. We should also probably just call `Generator.generateDecodeValue` directly on user defined types this way, keeping their public `Decode` methods just for convenience. + +The tape package shall contain a skimming function that takes a decoder and a +tag, and recursively consumes the decoder given the context of the tag. This +shall be utilized by the decoder functions to skip over values if their tags +or keys do not match up with what is expected.