Lines Matching defs:be_i64
318 /// use nom::number::complete::be_i64;
321 /// be_i64(s)
328 pub fn be_i64<I, E: ParseError<I>>(input: I) -> IResult<I, i64, E>
1078 /// let be_i64 = |s| {
1082 /// assert_eq!(be_i64(&b"\x00\x01\x02\x03\x04\x05\x06\x07abcefg"[..]), Ok((&b"abcefg"[..], 0x0001020304050607)));
1083 /// assert_eq!(be_i64(&b"\x01"[..]), Err(Err::Error((&[0x01][..], ErrorKind::Eof))));
1098 crate::number::Endianness::Big => be_i64,
1101 crate::number::Endianness::Native => be_i64,
1722 be_i64(&[0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00][..]),
1726 be_i64(&[0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff][..]),
1730 be_i64(&[0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff][..]),
1734 be_i64(&[0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00][..]),