Skip to main content

connection_write

Function connection_write 

Source
pub fn connection_write(connection: &mut NativeConnection, buffer: &[u8]) -> i32
Expand description

Writes one complete caller-provided buffer to the attached transport.

§Parameters

§Returns

Returns the computed value produced by crate::connection::connection_write.

§Examples

ⓘ
let _result = pharos_runtime_core::connection::connection_write(todo!(), &mut []);