MCPcopy Index your code
hub / github.com/RustPython/RustPython / bytes_len

Method bytes_len

crates/vm/src/builtins/str.rs:2226–2228  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2224 }
2225
2226 fn bytes_len(self) -> usize {
2227 self.len_utf8()
2228 }
2229}
2230
2231impl AnyStr for str {

Callers

nothing calls this directly

Calls 3

lenFunction · 0.85
len_wtf8Method · 0.80
lenMethod · 0.45

Tested by

no test coverage detected