@Override
  public void close() {
    reset();
  }
Returns a ByteBuffer of the unused buffer; returns null if the buffer was completely used.
geode-serialization/src/main/java/org/apache/geode/internal/serialization/BufferDataOutputStream.java