fn parse_array(input: &[u8], max_dim: i32) -> IResult<&[u8], Array> {
    assert!(max_dim > -1);
    let n = (max_dim * 2) as usize;
    let (input, values) = many_m_n(n, n, le_u64)(input)?;
    Ok((input, Array(values)))
}
///
/// Binary parsers for basic types used in records
///
Binary parsers for basic types used in records
Binary parsers for basic types used in records
fn parse_array(input: &[u8], max_dim: i32) -> IResult<&[u8], Array> {
    assert!(max_dim > -1);
    let n = (max_dim * 2) as usize;
    let (input, values) = many_m_n(n, n, le_u64)(input)?;
    Ok((input, Array(values)))
}
fn parse_array ( input : & [ u8 ] , max_dim : i32 ) -> IResult < & [ u8 ] , Array > { assert ! ( max_dim 1 ) ; let n = ( max_dim * 2 ) as usize ; let ( input , values ) = many_m_n ( n , n , le_u64 ) ( input ) ? ; Ok ( ( input , Array ( values ) ) ) }
Binary parsers for basic types used in records
Binary parsers for basic types used in records
input
&[u8]
max_dim
i32
input
&[u8]
max_dim
i32