class DefaultRecordBatch extends AbstractRecordBatch implements MutableRecordBatch {

    public boolean isValid() {
        return sizeInBytes() >= RECORD_BATCH_OVERHEAD && checksum() == computeChecksum();
    }

      DefaultRecordBatch(ByteBuffer buffer);

}