When de-serializing a CharSequenceReader that was serialized before this fields was added, this field will be initialized to 0, which gives the same behavior as before: start reading from the start.
When de-serializing a CharSequenceReader that was serialized before
this fields was added, this field will be initialized to
which gives the same behavior as before: stop reading at the
If this field was an int instead, it would be initialized to 0 when the
CharSequenceReader is de-serialized, causing it to not return any
characters at all.
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.