MCPcopy Create free account
hub / github.com/SeaQL/FireDBG.for.Rust / vector_v

Method vector_v

debugger/src/debugger/value_writer.rs:265–276  ·  view source on GitHub ↗
(&self, iter: I)

Source from the content-addressed store, hash-verified

263 }
264
265 fn vector_v<I: Iterator<Item = Bytes>>(&self, iter: I) -> Bytes {
266 let mut msg = Bytes::new();
267 let mut len: usize = 0;
268 for x in iter {
269 msg.push_bytes(x);
270 msg.space();
271 len += 1;
272 }
273 msg.integer(len);
274 msg.push_str("vec");
275 msg
276 }
277
278 fn slice_v<I: Iterator<Item = Bytes>>(&self, iter: I) -> Bytes {
279 let mut msg = Bytes::new();

Callers 2

write_valueFunction · 0.45
write_base_valueFunction · 0.45

Calls 4

push_bytesMethod · 0.80
spaceMethod · 0.80
integerMethod · 0.80
push_strMethod · 0.80

Tested by

no test coverage detected