MCPcopy Index your code
hub / github.com/dermesser/integer-encoding-rs / encode_fixed_vec

Method encode_fixed_vec

src/fixed.rs:27–29  ·  view source on GitHub ↗

Helper: Encode the value and return a Vec.

(self)

Source from the content-addressed store, hash-verified

25
26 /// Helper: Encode the value and return a Vec.
27 fn encode_fixed_vec(self) -> Vec<u8> {
28 self.encode_fixed_light().as_ref().to_vec()
29 }
30
31 /// integer-encoding-rs always emits and receives little-endian integers (converting implicitly
32 /// on big-endian machines). If you receive a big-endian integer, and would like it to be

Callers 7

decode_fFunction · 0.80
test_u32_encFunction · 0.80
test_u16_encFunction · 0.80
test_u8_encFunction · 0.80
test_i8_encFunction · 0.80
test_i16_encFunction · 0.80
test_i32_encFunction · 0.80

Calls

no outgoing calls

Tested by 6

test_u32_encFunction · 0.64
test_u16_encFunction · 0.64
test_u8_encFunction · 0.64
test_i8_encFunction · 0.64
test_i16_encFunction · 0.64
test_i32_encFunction · 0.64