pub async fn read_frame_within<R, T>(
reader: &mut R,
max: u32,
) -> Result<T, CodecError>Expand description
As read_frame, refusing a frame longer than max.
pub async fn read_frame_within<R, T>(
reader: &mut R,
max: u32,
) -> Result<T, CodecError>As read_frame, refusing a frame longer than max.