/// <summary>
 /// Converts a native HB container structure into an HBContainer object.
 /// </summary>
 /// <param name="container">
 /// The structure to convert.
 /// </param>
 /// <returns>
 /// The converted structure.
 /// </returns>
 public static HBContainer NativeToContainer(hb_container_s container)
 {
     return new HBContainer
         {
             DisplayName = container.name,
             ShortName = container.short_name,
             DefaultExtension = container.default_extension,
             Id = container.format
         };
 }
 /// <summary>
 /// Converts a native HB container structure into an HBContainer object.
 /// </summary>
 /// <param name="container">
 /// The structure to convert.
 /// </param>
 /// <returns>
 /// The converted structure.
 /// </returns>
 internal static HBContainer NativeToContainer(hb_container_s container)
 {
     return new HBContainer(container.default_extension, container.name, container.format, container.short_name);
 }