Need to initialize a byte[] array with ascii blank (i.e. 0x20 OR " ")
<p>Hello all Ol' Guy Newbie here ... 
I've defined a string=> final static String Blank     = " " ;
and a byte array 
static byte[] LU62_Partner    = new byte[8] ;</p>

<p>Further down in my logic I want to initialize the byte[] array with blanks</p>

<pre><code>     // Prep LU6.2 Session  
 for ( ndx=0 ; ndx &lt; 8 ; ++ndx)
   { 
     LU62_Partner[ndx] = Blank.getBytes() ;    // initialize the the LU6.2 partner name byte array w/blanks  
   }
 LU62_Partner = APPC_Partner.getBytes() ;      // convert string array to byte array 
                                               // if the appc-partner name &lt; 8 bytes, rightmost bytes
                                               // will be padded with blanks 
</code></pre>

<p>However upon compilation I get the following error
src\LU62XnsCvr.java:199: incompatible types
found   : byte[]
required: byte
         LU62_Partner[ndx] = Blank.getBytes() ;  </p>

<p>Again I'm confused... I was under the impression that the method getBytes() would convert a string into a byte. 
Thanks very much again </p>

<p>Guy </p>
