@Override
  public synchronized void write(int b) {
    if (myBuffer == null) {
      myBuffer = new StringBuilder();
    }
    myBuffer.append((char)b);
  }
@Override
  public synchronized void write(int b)