Skip to content

Commit

Permalink
Code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
devttys0 committed Dec 2, 2024
1 parent 7b4355f commit ef2c3de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/structures/dkbs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ pub fn parse_dkbs_header(dkbs_data: &[u8]) -> Result<DKBSHeader, StructureError>
if data_size["size"] & 0xFF000000 == 0 {
header.data_size = data_size["size"];
header.endianness = "big".to_string();
} else if let Ok(data_size) = common::parse(data_size_bytes, &data_size_field, "little") {
} else if let Ok(data_size) =
common::parse(data_size_bytes, &data_size_field, "little")
{
header.data_size = data_size["size"];
header.endianness = "little".to_string();
}
Expand Down

0 comments on commit ef2c3de

Please sign in to comment.