Parser._create_cut_and_flush_record(blockettes, record_type)[source]

Takes all blockettes of a record and return a list of finished records.

If necessary it will cut the record and return two or more flushed records.

The returned records also include the control header type code and the record continuation code. Therefore the returned record will have the length self.record_length - 6. Other methods are responsible for writing the sequence number.

It will always return a list with records.