title: How I do convert a Julia stream to "byte content" for a Python package?
body: <p>I maintain <a href="https://github.com/sylvaticus/OdsIO.jl" rel="nofollow noreferrer">OdsIo.jl</a>, a Julia package that wraps, for ods files specifically, <a href="https://pythonhosted.org/ezodf/" rel="nofollow noreferrer">ezodf</a>, a Python package for various OpenDocument formats,</p>
  <p>My &quot;ods_readall&quot; function starts by calling <code>ezodf.opendoc</code>.</p>
  <p><code>ezodf.opendoc</code> supports as input, other than the filename, the file byte content itself:</p>
  <pre><code>ezodf.opendoc(filename)¶
      Parameters: filename (str) – a filename or the file-content as bytes
  </code></pre>
  <p>Is there a way I can use it with a Julia stream (e.g. a network gzipped file as <a href="https://stackoverflow.com/questions/73557706/how-do-i-read-a-gzipped-xlsx-file-in-julia">in this question</a> ) intead of plain files?</p>