Searched refs:to_bytes_le (Results 1 – 6 of 6) sorted by relevance
/external/rust/crates/num-bigint/src/ |
D | biguint.rs | 679 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
|
D | bigint.rs | 746 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/ |
D | lib.rs | 849 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/ |
D | convert.rs | 424 let mut bytes = x.data.to_bytes_le(); in to_signed_bytes_le()
|
/external/rust/crates/num-bigint/tests/ |
D | biguint.rs | 79 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()
|
D | bigint.rs | 79 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()
|