require method
Implementation
void require(int count) {
if (count < 0) throw const UDocParseException("Negative read length");
if (remaining < count) throw UDocParseException("Read of $count exceeds buffer", offset: absolute);
}
void require(int count) {
if (count < 0) throw const UDocParseException("Negative read length");
if (remaining < count) throw UDocParseException("Read of $count exceeds buffer", offset: absolute);
}