title: Convert String to byte[] array
body: <p>I want to convert a String to a byte array but the array must have 256 positions, I mean, like this:</p>
  
  <pre><code>public byte[] temporal1 = new byte[256];
  public byte[] temporal2 = new byte[256];
  </code></pre>
  
  <p>So, when I do:</p>
  
  <pre><code>String send = "SEND_MESSAGE";
  String sendAck = "SEND_MESSAGE_ACK";
  temporal1 = send.getBytes();
  temporal2 = sendAck.getBytes();
  </code></pre>
  
  <p>I get this error: "./th.java:24: error: &lt;identifier&gt; expected". I know that if I do <code>public byte[] temporal1 = send.getBytes();</code>it works, but I need the array with that size to compare it with other byte array byte to byte.</p>