setPos method
Implementation
void setPos(int pos) {
if (pos <= maxlen) {
offset = pos;
} else {
throw MobiBufferOverflowException();
}
}
void setPos(int pos) {
if (pos <= maxlen) {
offset = pos;
} else {
throw MobiBufferOverflowException();
}
}