forward() invalidates last decoded offsets.

This commit is contained in:
Ferdinand Majerech 2014-07-29 02:59:33 +02:00
parent 2e156a8ece
commit 76cfd7704d

View file

@ -294,6 +294,9 @@ final class Reader
}
else if(c != '\uFEFF') { ++column_; }
}
lastDecodedBufferOffset_ = bufferOffset8_;
lastDecodedCharOffset_ = 0;
}
/// Used to build slices of read data in Reader; to avoid allocations.