Function symphonia_core::util::bits::sign_extend_leq8_to_i8

source ·
pub fn sign_extend_leq8_to_i8(value: u8, width: u32) -> i8
Expand description

Sign extends an arbitrary, 8-bit or less, signed two’s complement integer stored within an u8 to a full width i8.