onString method
A string field announcing length UTF-8 bytes. Return the destination
to decode it into — its capacity at least length — or null to skip
it.
The codec sets the destination's length to length, copies the payload
into its storage, and validates it as UTF-8 once it is whole: invalid
bytes are INVALID (CORELIB_PLAN §6.4). A skipped string is never
inspected.
Implementation
InlineString? onString(int id, int length) => null;