Function i32_to_u8

Source
pub fn i32_to_u8(x: i32) -> Result<u8, RpWebError>
Expand description

Convert x: i32 to u8 if MIN(u8)=0 x <= x <= MAX(u8)=255