datapak ~master (2019-05-09T15:57:35Z)
Dub
Repo
DataPak.addFile
datapak
DataPak
Adds a file to be compressed later. Returns the created index for it.
class
DataPak
Index
addFile
(
string
filename
,
string
newName
= null
,
ubyte
[]
indexExtField
= []
)
Meta
Source
See Implementation
datapak
DataPak
constructors
this
enums
ChecksumType
CompressionMethod
functions
addFile
checkFile
compress
decompressFromFile
finalize
getIndex
getNextAsArray
getNextIndex
initComp
initDecomp
static variables
CHECKSUM_LENGTH
SIGNATURE
enableThrowOnChecksumError
readBufferSize
structs
Header
Index
variables
compPos0
paths
prevOutPos
progress
Adds a file to be compressed later. Returns the created index for it.