0.1.31 upd

This commit is contained in:
Michael Wain 2025-02-15 22:18:13 +03:00
parent 103ddec880
commit 32e5e37dd3
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -62,6 +62,7 @@ pub mod deserializer {
let mut bytes = Vec::new(); let mut bytes = Vec::new();
let str_end = u32::from_le_bytes(data[i+12..i+16].try_into().unwrap()) as usize; let str_end = u32::from_le_bytes(data[i+12..i+16].try_into().unwrap()) as usize;
let mut h = i+24; let mut h = i+24;
u += 12 + str_end;
while h < i+24+str_end { while h < i+24+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;