add type to array exporter (#76)

This commit is contained in:
inspectredc
2024-04-06 18:14:31 -06:00
committed by GitHub
parent 2be55fb800
commit 011ba41514
+2
View File
@@ -271,6 +271,8 @@ ExportResult ArrayBinaryExporter::Export(std::ostream &write, std::shared_ptr<IP
ArrayType arrayType = arrayTypeMap.at(type);
WriteHeader(writer, LUS::ResourceType::Blob, 0);
writer.Write(static_cast<uint32_t>(arrayType));
writer.Write((uint32_t) array->mData.size());
for (auto &datum : array->mData) {