MCPcopy Create free account
hub / github.com/Fullstop000/wickdb / encode_fixed_32

Function encode_fixed_32

src/util/coding.rs:26–36  ·  view source on GitHub ↗

Encodes `value` in little-endian and puts it in the first 4-bytes of `dst`. # Panics Panics if `dst.len()` is less than 4.

(dst: &mut [u8], value: u32)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

set_countMethod · 0.85
fix_checksumMethod · 0.85
writeMethod · 0.85
add_numMethod · 0.85
assert_numMethod · 0.85
put_fixed_32Function · 0.85
test_encode_fixed_32Function · 0.85

Calls

no outgoing calls

Tested by 1

test_encode_fixed_32Function · 0.68