def char(self):
<EOL>if self.chunkOffset >= self.chunkSize:<EOL><INDENT>if not self.readChunk():<EOL><INDENT>return EOF<EOL><DEDENT><DEDENT>chunkOffset = self.chunkOffset<EOL>char = self.chunk[chunkOffset]<EOL>self.chunkOffset = chunkOffset + <NUM_LIT:1><EOL>return char<EOL>
Read one character from the stream or queue if available. Return
            EOF when EOF is reached.