Skip to main content

connection_read

Function connection_read 

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

Reads at most one caller-provided buffer from the attached transport.

§Parameters

§Returns

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

§Examples

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