public bool IsValid(long fileStreamLength) { if (offset > fileStreamLength || (compressedSize == 0 && uncompressedSize > 3000000000) || index > 1000000000 || Bio.PathContainsInvalidChars(path)) { return(false); } return(true); }