public byte[] getElement(int index) {int actualSize = getActualSizeOfElements(getSizeOfElements());byte[] result = IOUtils.safelyAllocate(actualSize, MAX_RECORD_LENGTH);System.arraycopy(getComplexData(), FIXED_SIZE + index * actualSize, result, 0, result.length );return result;}
public byte[] GetElement(int index){int actualSize = GetActualSizeOfElements(SizeOfElements);byte[] result = new byte[actualSize];Array.Copy(_complexData, FIXED_SIZE + index * actualSize, result, 0, result.Length);return result;}