class MemoryRecords extends AbstractRecords {

    public static MemoryRecords withRecords(CompressionType compressionType, SimpleRecord... records) {
        return withRecords(RecordBatch.CURRENT_MAGIC_VALUE, compressionType, records);
    }

    private  MemoryRecords(ByteBuffer buffer);

}