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/builtins/str.rs:657–659 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
655
656
#[inline]
657
pub fn byte_len(&self) -> usize {
658
self.data.len()
659
}
660
661
#[inline]
662
pub fn is_empty(&self) -> bool {
Callers
12
strxfrm
Function · 0.45
executescript
Method · 0.45
new
Method · 0.45
data_len
Method · 0.45
handle_encode_error
Method · 0.45
call_native_encode_error
Function · 0.45
call_native_translate_error
Function · 0.45
normalize_module
Function · 0.45
__sizeof__
Method · 0.45
removeprefix
Method · 0.45
removesuffix
Method · 0.45
concat_in_place
Method · 0.45
Calls
1
len
Method · 0.45
Tested by
no test coverage detected