Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_pystr
Method · 0.45
read
Method · 0.45
is_full_slice
Method · 0.45
utf8_len
Method · 0.45
readline
Method · 0.45
get_decoded_chars
Method · 0.45
take_decoded_chars
Method · 0.45
utf_8_encode
Function · 0.45
latin_1_encode
Function · 0.45
ascii_encode
Function · 0.45
Calls
1
len
Method · 0.45
Tested by
no test coverage detected