Read length bytes into io.
length
io
@override int readTo(BytesIO io, [int? length]) { length ??= remaining; var bs = readBytes(length); io.writeAll(bs); return bs.length; }