fn CheckInputAmount(safe: bool, br: &BrotliBitReader, num: u32) -> bool