Documentation ¶
Index ¶
- Constants
- func Create(zipName string, fileNames []string) int
- func Get(name, entry string) ([]byte, bool, func())
- func GetCopy(name, entry string) ([]byte, bool)
- type Zip
- func (z *Zip) Close()
- func (z *Zip) EntryClose() int
- func (z *Zip) EntryFRead(fileName string) int
- func (z *Zip) EntryFWrite(fileName string) int
- func (z *Zip) EntryOpen(entryName string) int
- func (z *Zip) EntryRead() ([]byte, func(), int)
- func (z *Zip) EntryReadCopy() ([]byte, int)
- func (z *Zip) EntryWrite(buf []byte) int
- func (z *Zip) Get(entryName string) ([]byte, int)
Constants ¶
View Source
const ( ZIP_DEFAULT_COMPRESSION_LEVEL = 6 ZIP_MODE_READ = 'r' ZIP_MODE_WRITE = 'w' ZIP_MODE_APPEND = 'a' )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Zip ¶
func (*Zip) EntryClose ¶
func (*Zip) EntryFRead ¶
func (*Zip) EntryFWrite ¶
func (*Zip) EntryOpen ¶
ZipEntryOpen extern int zip_entry_open(struct zip_t *zip, const char *entryname);
func (*Zip) EntryReadCopy ¶
func (*Zip) EntryWrite ¶
Click to show internal directories.
Click to hide internal directories.