public override void Write(byte[] buffer, int offset, int size)
 {
     _networkStream.Write(buffer, offset, size);
 }