pub fn decodeI32(u: u32) i32 u: u32550
551
552
553
554
555
556
557 pub fn decodeI32(u: u32) i32 {
const i: i32 = @bitCast(u);
if (i & 1 != 0) {
return -(i >> 1);
} else {
return i >> 1;
}
}