branched-generated-encoder #9
@ -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
|
destination's base type. We should also probably just call
|
||||||
`Generator.generateDecodeValue` directly on user defined types this way, keeping
|
`Generator.generateDecodeValue` directly on user defined types this way, keeping
|
||||||
their public `Decode` methods just for convenience.
|
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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user