public void putLenBytes(byte[] bytes){
  ensureCapacity(9 + bytes.length);
  putFieldLength(bytes.length);
  System.arraycopy(bytes,0,this.byteBuffer,this.position,bytes.length);
  this.position+=bytes.length;
}

public void putLenBytes ( byte [ ] bytes ) { ensureCapacity ( 9 + bytes . length ) ; putFieldLength ( bytes . length ) ; System . arraycopy ( bytes , 0 , this . byteBuffer , this . position , bytes . length ) ; this . position += bytes . length ; }
put a byte array as a len encoded bytes in the buffer .
