getContentLength method
Get the content length of the given record in bytes, not 16 bit words.
@param index The index, from 0 to getRecordCount - 1 @return The lengh in bytes of the record.
Implementation
int getContentLength(int index) {
int ret = -1;
if (afileReader != null) {
if (lastIndex != index) {
readRecord(index);
}
ret = recLen;
} else {
ret = content[2 * index + 1];
}
return ret;
}