class DefaultRecordBatch extends AbstractRecordBatch implements MutableRecordBatch {

    @Override
    public void setLastOffset(long offset) {
        buffer.putLong(BASE_OFFSET_OFFSET, offset - lastOffsetDelta());
    }

      DefaultRecordBatch(ByteBuffer buffer);

}