Skip to main content

input_with_control

Function input_with_control 

Source
pub fn input_with_control(
    text: &str,
    kind: BitStringKind,
    modifier: i32,
    control: &ProductionControl<'_>,
) -> Result<Produced<BitStringValue>>
Expand description

Interpret binary or hexadecimal input. An input function checks the declared length before inspecting digits; explicit casts apply their modifier after unconstrained input instead.