Home
last modified time | relevance | path

Searched refs:to_bytes_le (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/num-bigint/src/
Dbiguint.rs679 let mut v = self.to_bytes_le(); in to_bytes_be()
695 pub fn to_bytes_le(&self) -> Vec<u8> { in to_bytes_le() method
Dbigint.rs746 pub fn to_bytes_le(&self) -> (Sign, Vec<u8>) { in to_bytes_le() method
747 (self.sign, self.data.to_bytes_le()) in to_bytes_le()
/external/rust/crates/uuid/src/
Dlib.rs849 pub const fn to_bytes_le(&self) -> Bytes { in to_bytes_le() method
1530 let b_le = u1.to_bytes_le(); in test_bytes_le_roundtrip()
/external/rust/crates/num-bigint/src/bigint/
Dconvert.rs424 let mut bytes = x.data.to_bytes_le(); in to_signed_bytes_le()
/external/rust/crates/num-bigint/tests/
Dbiguint.rs79 assert_eq!(b.to_bytes_le(), s.as_bytes()); in test_to_bytes_le()
86 assert_eq!(b.to_bytes_le(), [0]); in test_to_bytes_le()
90 assert_eq!(b.to_bytes_le(), [0, 2, 0, 0, 0, 0, 0, 0, 1]); in test_to_bytes_le()
Dbigint.rs79 let (sign, v) = b.to_bytes_le(); in test_to_bytes_le()
87 assert_eq!(b.to_bytes_le(), (NoSign, vec![0])); in test_to_bytes_le()
91 assert_eq!(b.to_bytes_le(), (Plus, vec![0, 2, 0, 0, 0, 0, 0, 0, 1])); in test_to_bytes_le()