title: How to check if byte[] contains only zeros?
body: <p>How can I check if a byte[] contains only 0's?  I do not want to send the array over the network if it only contains zeroes:</p>
  
  <pre><code>byte[] bytesToBeSend = e.GetAudioSamples;
  
  // Send test data to the remote device.
  Send(client, bytesToBeSend);
  </code></pre>