code: public void addByte(int b)
      throws IOException
    {
      int nextHead = (_byteHead + 1) % _byteBuffer.length;
  
      while (nextHead == _byteTail) {
        int ch = readChar();
  
        if (ch < 0) {
          break;
        }
  
        outputChar(ch);
      }
  
      _byteBuffer[_byteHead] = (byte) b;
      _byteHead = nextHead;
    }
docs: Adds the next byte.
  
  @param b the byte to write