Methods
addBuffer(fileName, byteCount, source)
Add byteCount bytes from source to archive as fleName
Arguments:
-
fileName
(String)
name of file inside archive -
byteCount
(Number)
number of bytes to add starting from buffer position -
source
(TubBuffer)
addFile(fileName)
Add specified file to archive
Arguments:
-
fileName
freeNative()
Close writer