public ByteBuffer getData() {
        return this.data;
    }
Returns the log data, it's not read-only, you SHOULD take care it's modification and
thread-safety by yourself.

@return the log data
jraft-core/src/main/java/com/alipay/sofa/jraft/entity/LogEntry.java