getStringAsByte method

Uint8List getStringAsByte(
  1. int length
)

Implementation

Uint8List getStringAsByte(int length) {
  if (offset + length > maxlen) {
    throw MobiBufferOverflowException();
  }
  final val = data.sublist(offset, offset + length);
  offset += length;
  return val;
}