public void Send(byte[] buffer) { if (buffer == null) throw new ArgumentNullException("buffer"); Send(buffer, 0, buffer.Length); }