private int skipZeroEntries(BinaryReader reader, int offset, long size) throws IOException {
		while (offset + 8 <= size) {
			long possibleZero = reader.readNextLong();
			if (possibleZero != 0) {
				reader.setPointerIndex(reader.getPointerIndex() - 8);
				return offset;
			}
			offset += 8;
		}
		return offset;
	}
Reads past zeroed out entries in Swift type metadata sections

@param reader A {@link BinaryReader} positioned within a type metadata section
@param offset The current offset from the start of the type metadata section
@param size The size of the type metadata section (in bytes)
@return The offset from the start of the type metadata section that contains the next
  non-zero entry
@throws IOException if an IO-related error occurred
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/swift/SwiftTypeMetadata.java