@Override
    public Buffer resetWriterIndex() {
        this.buffer.resetWriterIndex();
        return this;
    }
Creates a new instance.
@param buffer The buffer to wrap.
gremlin-util/src/main/java/org/apache/tinkerpop/gremlin/util/ser/NettyBuffer.java