MCPcopy Create free account
hub / github.com/RustCrypto/utils / len

Method len

inout/src/inout_buf.rs:88–90  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

86 #[inline(always)]
87 #[must_use]
88 pub fn len(&self) -> usize {
89 self.len
90 }
91
92 /// Returns `true` if the buffer has a length of 0.
93 #[inline(always)]

Callers 15

encode_blobsFunction · 0.80
test_vlqFunction · 0.80
parse_into_arrayFunction · 0.80
parse_into_vecFunction · 0.80
decode_hexFunction · 0.80
encodeFunction · 0.80
encode_hexFunction · 0.80
decodeFunction · 0.80
absorb_partialFunction · 0.80
squeeze_read_partialFunction · 0.80
squeeze_xor_partialFunction · 0.80
absorb_u64_leMethod · 0.80

Calls

no outgoing calls

Tested by 6

test_vlqFunction · 0.64
keccak_testFunction · 0.64
digest_pad_combinationsFunction · 0.64
zeroize_c_stringFunction · 0.64
reserved_invalid_lengthsFunction · 0.64