protected virtual void SendCommand(string command) { byte[] data = System.Text.Encoding.Default.GetBytes(command + "\r\n"); _Stream.Write(data, 0, data.Length); }
public void Write(byte[] buffer, int offset, int size) { m_stream.Write(buffer, offset, size); }