Reads a data value from Reader.
Reads a data value from Reader. The data value bytes is expected to confirm
to the type descriptor tpe
.
Use type descriptor tpe
to deconstruct type structure and recursively serialize subcomponents.
Use type descriptor tpe
to deconstruct type structure and recursively serialize subcomponents.
Primitive types are leaves of the type tree, and they are served as basis of recursion.
The data value v
is expected to conform to the type described by tpe
.
This works in tandem with ConstantSerializer, if you change one make sure to check the other.