0.1.26 upd

This commit is contained in:
Michael Wain 2025-02-15 21:48:30 +03:00
parent 16206894e8
commit e40c6442ac
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "itunesdb" name = "itunesdb"
version = "0.1.25" version = "0.1.26"
edition = "2021" edition = "2021"
authors = ["alterwain"] authors = ["alterwain"]

View File

@ -70,8 +70,8 @@ pub mod deserializer {
let mut bytes = Vec::new(); let mut bytes = Vec::new();
let str_end = u32::from_le_bytes(data[i+8..i+12].try_into().unwrap()) as usize; let str_end = u32::from_le_bytes(data[i+8..i+12].try_into().unwrap()) as usize;
let mut h = i+20; let mut h = i+20;
info!("h: {}, end: {}", h, i+str_end); info!("h: {}, end: {}", h, str_end);
while h < i+str_end { while h < i+20+str_end {
bytes.push(u16::from_le_bytes(data[h..h+2].try_into().unwrap())); bytes.push(u16::from_le_bytes(data[h..h+2].try_into().unwrap()));
h+=2; h+=2;
} }