MCPcopy Create free account
hub / github.com/1jehuang/jcode / write

Method write

crates/jcode-base/src/process_memory.rs:459–462  ·  view source on GitHub ↗
(&mut self, buffer: &[u8])

Source from the content-addressed store, hash-verified

457
458 impl std::io::Write for ByteCounter {
459 fn write(&mut self, buffer: &[u8]) -> std::io::Result<usize> {
460 self.bytes = self.bytes.saturating_add(buffer.len());
461 Ok(buffer.len())
462 }
463
464 fn flush(&mut self) -> std::io::Result<()> {
465 Ok(())

Callers 13

configFunction · 0.45
invalidate_config_cacheFunction · 0.45
on_config_reloadedFunction · 0.45
register_invalidatorFunction · 0.45
spawn_with_notifyMethod · 0.45
adopt_with_optionsMethod · 0.45
cancel_with_graceMethod · 0.45
handle_ws_connectionFunction · 0.45
handle_pair_requestFunction · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected