byte[] getEncodedFieldTypes() {
		ArrayList<Byte> encodedDataList = new ArrayList<>();

		// add field type encodings
		for (Field field : fields) {
			encodedDataList.add(field.getFieldType());
		}

		// add sparse field extension data
		if (sparseColumnSet != null) {
			encodedDataList.add(FIELD_EXTENSION_INDICATOR);
			encodedDataList.add(SPARSE_FIELD_LIST_EXTENSION);
			for (int col : sparseColumnSet) {
				encodedDataList.add((byte) col);
			}
		}
		return ArrayUtils.toPrimitive(encodedDataList.toArray(Byte[]::new));
	}
Get the schema field types as an encoded byte array.
@return byte[] field type list as an encoded byte array.
Ghidra/Framework/DB/src/main/java/db/Schema.java