Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clockworklabs/SpacetimeDB
/ put_slice
Method
put_slice
crates/sats/src/buffer.rs:302–304 ·
view source on GitHub ↗
(&mut self, slice: &[u8])
Source
from the content-addressed store, hash-verified
300
301
impl BufWriter for Vec<u8> {
302
fn put_slice(&mut self, slice: &[u8]) {
303
self.extend_from_slice(slice);
304
}
305
}
306
307
impl BufWriter for &mut [u8] {
Callers
15
encode_record
Method · 0.45
encode_record
Method · 0.45
encode
Method · 0.45
put_u8
Method · 0.45
put_u16
Method · 0.45
put_u32
Method · 0.45
put_u64
Method · 0.45
put_u128
Method · 0.45
put_u256
Method · 0.45
put_i8
Method · 0.45
put_i16
Method · 0.45
put_i32
Method · 0.45
Calls
2
take
Function · 0.85
len
Method · 0.45
Tested by
1
test_simple_encode_decode
Function · 0.36