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

Method utf8_len

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

Source from the content-addressed store, hash-verified

3666 }
3667
3668 fn utf8_len(&self) -> Utf8size {
3669 Utf8size {
3670 bytes: self.byte_len(),
3671 chars: self.char_len(),
3672 }
3673 }
3674 }
3675
3676 let mut start;

Callers 1

readlineMethod · 0.80

Calls 2

byte_lenMethod · 0.45
char_lenMethod · 0.45

Tested by

no test coverage detected