MCPcopy Create free account
hub / github.com/docknetwork/crypto / write

Method write

utils/src/transcript.rs:237–241  ·  view source on GitHub ↗
(&mut self, data: &[u8])

Source from the content-addressed store, hash-verified

235
236impl Write for MerlinTranscript {
237 fn write(&mut self, data: &[u8]) -> ArkResult<usize> {
238 self.merlin
239 .append_message_with_non_static_label(&self.next_label, data);
240 Ok(data.len())
241 }
242
243 #[inline]
244 fn flush(&mut self) -> ArkResult<()> {

Callers

nothing calls this directly

Calls 2

lenMethod · 0.45

Tested by

no test coverage detected