pub unsafe extern "C" fn nros_platform_tcp_read_exact(
sock: *const c_void,
buf: *mut u8,
len: usize,
) -> usizeExpand description
Read exactly len bytes. Returns len on success,
NROS_PLATFORM_NET_SOCKET_EOF when the peer closed the stream first, or
NROS_PLATFORM_NET_SOCKET_ERROR on error.