Add another note

This commit is contained in:
Matt Nadareski
2024-07-16 14:37:28 -04:00
parent aa147379f3
commit 203d6ce3df

View File

@@ -750,6 +750,7 @@ namespace SabreTools.DatTools
{
// TODO: Write entry to a temporary file to avoid over-large in-memory streams
// TODO: Once entry is written, replace GetEntryStream implementations
// TODO: Only write to file if there are multiple dupes
ItemType itemType = datItem.GetStringFieldValue(Models.Metadata.DatItem.TypeKey).AsEnumValue<ItemType>();
(stream, _) = archive.GetEntryStream(datItem.GetName() ?? itemType.AsStringValue() ?? string.Empty);
}