pub fn connection_write(connection: &mut NativeConnection, buffer: &[u8]) -> i32Expand description
Writes one complete caller-provided buffer to the attached transport.
§Parameters
connection: Input consumed bycrate::connection::connection_write.buffer: Input consumed bycrate::connection::connection_write.
§Returns
Returns the computed value produced by crate::connection::connection_write.
§Examples
ⓘ
let _result = pharos_runtime_core::connection::connection_write(todo!(), &mut []);§Related
crate::connectionfor adjacent helpers that share the same runtime surface.