This class is returned by readString() and readByteArray() , with either the contents of the string that was read or an indication that the parsing is done or found an error.

The contents of data are valid only if status is Ok . Otherwise, it should be null.

Contains the actual data from the string if status is Ok.

Contains the status of the attempt of reading the string from the stream.