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

Method byte_len

crates/vm/src/stdlib/_io.rs:3635–3637  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

3633 impl SlicedStr {
3634 #[inline]
3635 fn byte_len(&self) -> usize {
3636 self.1.len()
3637 }
3638
3639 #[inline]
3640 fn char_len(&self) -> usize {

Callers 10

len_pystrMethod · 0.45
readMethod · 0.45
is_full_sliceMethod · 0.45
utf8_lenMethod · 0.45
readlineMethod · 0.45
get_decoded_charsMethod · 0.45
take_decoded_charsMethod · 0.45
utf_8_encodeFunction · 0.45
latin_1_encodeFunction · 0.45
ascii_encodeFunction · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected