public void setData(byte[] b, int start, int length){thedata = IOUtils.safelyAllocate(length, MAX_RECORD_LENGTH);System.arraycopy(b,start,thedata,0,length);}
public void SetData(byte[] b, int start, int length){_thedata = new byte[length];Array.Copy(b, start, _thedata, 0, length);}