pub fn read_frame(
input: Bytes,
) -> Result<(FrameHeader, Bytes, Bytes), FrameError>Expand description
input の先頭から 1 フレーム読み出し、(header, payload, remainder) を返す。
pub fn read_frame(
input: Bytes,
) -> Result<(FrameHeader, Bytes, Bytes), FrameError>input の先頭から 1 フレーム読み出し、(header, payload, remainder) を返す。