MCPcopy Create free account
hub / github.com/SoftbearStudios/bitcode / collect_into

Method collect_into

src/derive/vec.rs:29–32  ·  view source on GitHub ↗
(&mut self, out: &mut Vec<u8>)

Source from the content-addressed store, hash-verified

27
28impl<T: Encode> Buffer for VecEncoder<T> {
29 fn collect_into(&mut self, out: &mut Vec<u8>) {
30 self.lengths.collect_into(out);
31 self.elements.collect_into(out);
32 }
33
34 fn reserve(&mut self, additional: NonZeroUsize) {
35 self.lengths.reserve(additional);

Callers 1

encodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected