class PDF::Reader::Buffer

def peek_byte


untouched
peek at the next character in the io stream, leaving the stream position
def peek_byte
  byte = @io.getbyte
  @io.seek(-1, IO::SEEK_CUR) if byte
  byte
end