摘要: let mut buf:Vec<u8>=Vec::new(); let (mut i, mut buf_size) = (0, 50); for v in (&stream).bytes() { i+=1; if i > buf_size { break; } buf.push(v.unwrap() 阅读全文
posted @ 2022-05-24 20:21 Tacty 阅读(164) 评论(0) 推荐(0)