design: Add paragraph about how we need a skimming function in tape

This commit is contained in:
Sasha Koshka 2025-08-03 22:27:27 -04:00
parent df3fe1280d
commit a1bfae443c

View File

@ -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.