public XlsBiffRecord ReadAt(int offset) {
if ((uint)offset>=bytes.Length)
return null;
XlsBiffRecord rec=XlsBiffRecord.GetRecord(bytes, (uint)offset, reader);
//choose ReadOption.Loose to skip this check (e.g. sql reporting services)
if (reader.ReadOption==ReadOption.Strict) {
if (offset+rec.Size>m_size)
return null;
}
return rec;
}
}