hasString abstract method

ParamPointer<String> hasString(
  1. int maxBytes, {
  2. Encoding encoding = utf8,
})

A UTF-8 string of at most maxBytes bytes - not characters, since that is what the buffer actually reserves and a caller sizing a field should be thinking in the unit that can overflow.

Implementation

ParamPointer<String> hasString(int maxBytes, {Encoding encoding = utf8});