use write_all instead of write (#488)
io::Write::write is not guaranteed to process the entire buffer. it return how many bytes were processed, which might be smaller than a given buffer’s length. use write_all instead.
parent
18d4234b
Please register or sign in to comment