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

Method len_wtf8

crates/wtf8/src/lib.rs:176–178  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

174 }
175
176 pub const fn len_wtf8(&self) -> usize {
177 len_utf8(self.value)
178 }
179
180 pub fn is_ascii(&self) -> bool {
181 self.is_char_and(|c| c.is_ascii())

Callers 7

lenMethod · 0.80
codepoint_range_endFunction · 0.80
handle_encode_errorMethod · 0.80
nextMethod · 0.80
splitlinesMethod · 0.80
bytes_lenMethod · 0.80
popMethod · 0.80

Calls 1

len_utf8Function · 0.85

Tested by

no test coverage detected