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