Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ text_size
Method
text_size
crates/wasmtime/src/runtime/code.rs:157–159 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
155
}
156
157
pub fn text_size(&self) -> usize {
158
self.original_code.text().len()
159
}
160
161
/// Give the range of engine-code PCs in this code.
162
pub fn text_range(&self) -> Range<EngineCodePC> {
Callers
nothing calls this directly
Calls
2
len
Method · 0.45
text
Method · 0.45
Tested by
no test coverage detected