pub fn unpack24_bit_uint(buffer: &[u8], offset: usize) -> i32
Unpacks a 24-bit integer from a buffer at the specified offset.