fn parse_integer(builder: &mut BuilderData, string: &str, size: usize) -> ClientResult<()> {
    let mut num_str = string.trim();
    let negative = if num_str.starts_with("-") {
        num_str = &num_str[1..];
        true
    } else if num_str.starts_with("+") {
        num_str = &num_str[1..];
        false
    } else {
        false
    };
    let radix = if num_str.starts_with("0x") || num_str.starts_with("0X") {
        num_str = &num_str[2..];
        16
    } else {
        10
    };
    parse_string(builder, num_str, negative, radix, size)
}
/// Append `size` high bits from the number that is represented as a `string`.
Append `size` high bits from the number that is represented as a `string`.
Append ` size ` high bits from the number that is represented as a ` string ` .
fn parse_integer(builder: &mut BuilderData, string: &str, size: usize) -> ClientResult<()> {
    let mut num_str = string.trim();
    let negative = if num_str.starts_with("-") {
        num_str = &num_str[1..];
        true
    } else if num_str.starts_with("+") {
        num_str = &num_str[1..];
        false
    } else {
        false
    };
    let radix = if num_str.starts_with("0x") || num_str.starts_with("0X") {
        num_str = &num_str[2..];
        16
    } else {
        10
    };
    parse_string(builder, num_str, negative, radix, size)
}
fn parse_integer ( builder : & mut BuilderData , string : & str , size : usize ) -> ClientResult < ( ) > { let mut num_str = string . trim ( ) ; let negative = if num_str . starts_with ( " " ) { num_str = & num_str [ 1 .. ] ; true } else if num_str . starts_with ( " " ) { num_str = & num_str [ 1 .. ] ; false } else { false } ; let radix = if num_str . starts_with ( " " ) || num_str . starts_with ( " " ) { num_str = & num_str [ 2 .. ] ; 16 } else { 10 } ; parse_string ( builder , num_str , negative , radix , size ) }
Append `size` high bits from the number that is represented as a `string`.
Append ` size ` high bits from the number that is represented as a ` string ` .
builder
&mut BuilderData
string
&str
size
usize