title: How to create a pointer to a byte array?
body: <p>i would like to create a pointer to a new byte array and i want to initialize it at once.</p>
  
  <p>For example this could be used for an empty byte array:</p>
  
  <pre><code>byte *test = new byte[10];
  </code></pre>
  
  <p>but how can i create the pointer to the byte array and initialize it at once?</p>
  
  <pre><code>byte *test = new byte {0x00, 0x01, 0x02, 0x03};
  </code></pre>
  
  <p>...doesnt work though.</p>
  
  <p>So how is it done anyway?</p>