ReadonlydecodeDecoding function.
ReadonlyencodeEncoding function.
ReadonlynameDescriptive name of the coded data.
ReadonlysizeA byte size hint for encoded data.
ReadonlyskipSkipping function.
ReadonlyViewA "lightweight" version of the object.
StaticnewStaticwith
Type descriptor definition.
The type descriptor can encode & decode given type
T, but also have anameand a byte-size hint.Descriptors can be composed to form more complex typings.