1.参考地址:
https://docs.microsoft.com/en-us/dotnet/api/system.io.stream.write?view=net-6.0
Stream.Write(bytes, 0, bytes.Length) 是把bytes写入到Stream流
Stream.Read(bytes, 0 , bytes.Length) 是把Stream流写入到bytes