let string_of_mo_header mo_header =
let buff = Buffer.create 256
in
Printf.bprintf buff "File format revision : %ld\n" mo_header.file_format_revision;
Printf.bprintf buff "Number of string : %ld\n" mo_header.number_of_strings;
Printf.bprintf buff "Offset of table with original strings : %lx\n" mo_header.offset_table_strings;
Printf.bprintf buff "Offset of table with translation strings : %lx\n" mo_header.offset_table_translation;
Printf.bprintf buff "Size of hashing table : %lx\n" mo_header.size_of_hashing_table;
Printf.bprintf buff "Offset of hashing table : %lx\n" mo_header.offset_of_hashing_table;
Buffer.contents buff