title: Read stdin as binary
body: <p>I have code that opens and reads a file from binary. </p>
  
  <pre><code>with open (file, mode="rb") as myfile:
      message_string=myfile.read()
      myfile.close
  </code></pre>
  
  <p>I now need to do the same thing reading from stdin.  But I can't figure out how to read binary.  </p>
  
  <p>The error says byte strings only.<br>
  Any suggestions?</p>