Skip to main content

read_frame

Function read_frame 

Source
pub fn read_frame(
    input: Bytes,
) -> Result<(FrameHeader, Bytes, Bytes), FrameError>
Expand description

input の先頭から 1 フレーム読み出し、(header, payload, remainder) を返す。