@Override
  public void write(int b) throws IOException {
    if (myFailed) return;
    try {
      myBuffer.write(b);
    }
    catch (OutOfMemoryError err) {
      myFailed = true;
      throw suppressOOM(err);
    }
  }
@Override
  public void write(int b)