Navigation
API > API/Plugins > API/Plugins/DMXZip > API/Plugins/DMXZip/FDMXZipper
Description
Adds a file to the Zip at its Relative File Path and Name. Note, files added this way need to exist on disk until SaveToFile is called.
Examples: AddFile("hello/world.txt", { 'A', 'B', 'C' }); AddFile("test001", { '0', '1', '2', '3', 'X' }, false); AddFile("a/b/c/d/e/test002", { 80, 90, 100, 110, 111, 112, 113 });
| Name | AddFile |
| Type | function |
| Header File | /Engine/Plugins/VirtualProduction/DMX/DMXGDTF/Source/DMXZip/Public/DMXZipper.h |
| Include Path | #include "DMXZipper.h" |
| Source | /Engine/Plugins/VirtualProduction/DMX/DMXGDTF/Source/DMXZip/Private/DMXZipper.cpp |
void AddFile
(
const FString & RelativeFilePathAndName,
const TArray64< uint8 > & Data,
const bool bCompress
)