get_format_libarchive


Description:

public int get_format_libarchive ()

Gets the format code used by libarchive.

You can use the return value as the argument for archive_read_support_format_by_code and archive_write_set_format . However, some format cannot be set using these two functions because of problems inside libarchive. Use autoar_format_get_libarchive_read and autoar_format_get_libarchive_write to get the function pointer is the more reliable way to set format on the archive object.

Parameters:

format

an Format

Returns:

an integer