title: how to convert java array to DataInputStream or DataOutputStream?
body: <p>I need to convert an <code>array</code> to  <code>DataInputStream</code> or <code>DataOutputStream</code>. And then reconvert to that type of <code>array</code></p>