MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / write

Method write

rust/tests/websocket.rs:44–52  ·  view source on GitHub ↗
(&self, data: &[u8])

Source from the content-addressed store, hash-verified

42 }
43
44 fn write(&self, data: &[u8]) -> bool {
45 if !self.core.notify_read("sent: ".as_bytes()) {
46 return false;
47 }
48 if !self.core.notify_read(data) {
49 return false;
50 }
51 self.core.notify_read("\n".as_bytes())
52 }
53
54 fn disconnect(&self) -> bool {
55 true

Callers 1

test_binary_writer_writeFunction · 0.45

Calls 2

notify_readMethod · 0.80
as_bytesMethod · 0.80

Tested by

no test coverage detected