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