public boolean setDoNotCopy(boolean v) {
    boolean result = doNotCopy;
    if (result != v) {
      doNotCopy = v;
    }
    return result;
  }
Returns true if this HDOS currently does not copy byte arrays/buffers written to it. Instead of
copying a reference is kept to the original array/buffer.
geode-serialization/src/main/java/org/apache/geode/internal/serialization/BufferDataOutputStream.java