MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / byte_length_utf8

Function byte_length_utf8

src/protocol/string_utils.rs:1–3  ·  view source on GitHub ↗
(input: &str)

Source from the content-addressed store, hash-verified

1pub fn byte_length_utf8(input: &str) -> usize {
2 input.len()
3}

Callers 4

bindMethod · 0.85
executeMethod · 0.85
add_stringMethod · 0.85

Calls 1

lenMethod · 0.80

Tested by

no test coverage detected