Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ write_u32_be
Method
write_u32_be
cranelift/codegen/src/isa/unwind.rs:247–250 ·
view source on GitHub ↗
(&mut self, v: u32)
Source
from the content-addressed store, hash-verified
245
}
246
247
fn write_u32_be(&mut self, v: u32) {
248
self.buf[self.offset..(self.offset + 4)].copy_from_slice(&v.to_be_bytes());
249
self.offset += 4;
250
}
251
}
Callers
1
emit
Method · 0.80
Calls
1
copy_from_slice
Method · 0.45
Tested by
no test coverage detected