Skip to main content

read_frame

Function read_frame 

Source
async fn read_frame(
    socket: &mut TcpSocket<'_>,
    buf: &mut [u8],
) -> Result<(u8, usize), ()>
Expand description

Read one complete client frame (masked, unfragmented) into buf.