Map variable-length fields to fixed-length fields

If the data length of the from-field is less than or equal to the to-field length, the data is copied to the fixed-length to-field and padded to ensure data integrity.

If the length of the from-field data is greater than the to-field length, the from-field data is copied to the to-field and truncated on the right in a manner that ensures data integrity.


Example of mapping from variable-length
fields to fixed-length fields