index of namespace default
 
 index of project tkzip
 
 index of module tkzip

Class tkzip.Zip


Synopsis

  Base classes:
  Methods:

Method addDir
add directory to archive
Signature
addDir(StringpathName)
 :boolean
Arguments
StringpathName
Returns
boolean
Description

(note) adding a file in a subdir w/o creating the dir first results in garbage file content

 
 top of page
Method addFile
add file to archive
Signature
addFile(StringpathName,
  Objectdata 
  )  
 :boolean
Arguments
StringpathName
Objectdataa String, an Array, a Buffer, or a Stream (or any other Object that implements the array/stream interface(s))
Returns
boolean

 
 top of page
Method close
Signature
close()

 
 top of page
Method createLocal
Signature
createLocal(StringpathName)
 :boolean
Arguments
StringpathName
Returns
boolean

 
 top of page
Method getCompressedSizeByIndex
Signature
getCompressedSizeByIndex(intindex)
 :UnsignedLong
Arguments
intindex
Returns

 
 top of page
Method getIndexByName
Signature
getIndexByName(StringpathName)
 :int
Arguments
StringpathName
Returns
int

 
 top of page
Method getNameByIndex
Signature
getNameByIndex(intindex)
 :String
Arguments
intindex
Returns
String

 
 top of page
Method getNumEntries
Signature
getNumEntries():int
Returns
int

 
 top of page
Method getSizeByIndex
Signature
getSizeByIndex(intindex)
 :UnsignedLong
Arguments
intindex
Returns

 
 top of page
Method loadBufferByIndex
Signature
loadBufferByIndex(intindex)
 :Buffer
Arguments
intindex
Returns
Buffer

 
 top of page
Method loadBufferByName
Signature
loadBufferByName(StringpathName)
 :Buffer
Arguments
StringpathName
Returns
Buffer

 
 top of page
Method loadStringByIndex
Signature
loadStringByIndex(intindex)
 :String
Arguments
intindex
Returns
String

 
 top of page
Method loadStringByName
Signature
loadStringByName(StringpathName)
 :String
Arguments
StringpathName
Returns
String

 
 top of page
Method openLocal
Signature
openLocal(StringpathName)
 :boolean
Arguments
StringpathName
Returns
boolean

 
 top of page
Method openLocalReadOnly
Signature
openLocalReadOnly(StringpathName)
 :boolean
Arguments
StringpathName
Returns
boolean

 
 top of page
 

Project Modules:tkzip 
Project Classes:Zip 
Project Functions:
All Namespaces:default , graph , ui 
All Projects:core , eqxmms , ShaderVG , ShaderVG_Text , tkanalogrytm , tkchipmunk , tkclap , tkfileutils , tkfreeglut , tkfreetype2 , tkfreeverb , tkmath , tkmidi , tkmidipipe , tkminnie , tkoldmath , tkopengl , tkportaudio , tkradiastools , tksamplechain , tksampleedit , tksampler , tksdl , tksdl_net , tksidplay2 , tkspeexdsp , tksqlite , tktriangulate , tkui , tkvst2 , tkzip , ui , yingtest 


auto-generated by "DOG", the TkScript document generator. Thu, 11/Dec/2025 13:42:00