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
05f49f1d
Please register or sign in to comment