ByteVector::toUInt() takes offset and length