The StringInputStream class contains the following method:
read reads the next byte of data from this input stream.