public ByteBuffer value() {
        return Utils.sizeDelimited(buffer, valueSizeOffset());
    }
A ByteBuffer containing the value of this record
@return the value or null if the value for this record is null
clients/src/main/java/org/apache/kafka/common/record/LegacyRecord.java