Function libxivdat::dat_type::get_default_end_byte_for_type [−][src]
pub fn get_default_end_byte_for_type(file_type: &DATType) -> Option<u8>
Expand description
Gets the default header ending byte for a given DAT type.
The purpose of this value is unknown, but it is a fixed value based on file type.
Returns None
if the file is of unknown type.
Examples
use libxivdat::dat_type::{DATType, get_default_end_byte_for_type}; let end_byte = get_default_end_byte_for_type(&DATType::Macro);