let output_s32 oz n = let base = Int32.to_int n in let big = Int32.to_int (Int32.shift_right_logical n 24) in output_u8 oz base ; output_u8 oz (base lsr 8) ; output_u8 oz (base lsr 16) ; output_u8 oz big