title: why is my ByteArrayInputStream empty after creating it from any string?
body: <p>Basically I'm using (in <code>groovy</code>) the following construction:</p>
  
  <pre><code>InputStream in = new ByteArrayInputStream("one two three four".getBytes());
  </code></pre>
  
  <p>but then when I print its content:</p>
  
  <pre><code>println(in.text)
  </code></pre>
  
  <p>I see empty line. Why so? and how can I save those bytes in my InputStream?</p>