public void extend(final int size){
  Preconditions.checkArgument(size > 0,"The number of bytes to add must be positive");
  final byte[] data=new byte[m_data.length + size];
  System.arraycopy(m_data,0,data,0,m_data.length);
  m_data=data;
}

public void extend ( final int size ) { Preconditions . checkArgument ( size > 0 , "The number of bytes to add must be positive" ) ; final byte [ ] data = new byte [ m_data . length + size ] ; System . arraycopy ( m_data , 0 , data , 0 , m_data . length ) ; m_data = data ; }
adds a number of 0 - bytes at the end of the memory chunk .
