Documentation ¶
Overview ¶
Package zlib provides API definitions for accessing zlib1.dll.
Index ¶
- Variables
- type AllocFunc
- type FreeFunc
- type GzFile
- func (g *GzFile) Buffer(size uint) int
- func (g *GzFile) Clearerr()
- func (g *GzFile) Close() int
- func (g *GzFile) CloseR() int
- func (g *GzFile) CloseW() int
- func (g *GzFile) Direct() int
- func (g *GzFile) Eof() int
- func (g *GzFile) Error(errnum *int) string
- func (g *GzFile) Flush(flush int) int
- func (g *GzFile) Getc() int
- func (g *GzFile) Gets(buf string, leng int) string
- func (g *GzFile) Offset() T.Long
- func (g *GzFile) Printf(format string, v ...VArg) int
- func (g *GzFile) Putc(c int) int
- func (g *GzFile) Puts(s string) int
- func (g *GzFile) Read(buf *T.Void, leng uint) int
- func (g *GzFile) Rewind() int
- func (g *GzFile) Seek(a1 T.Long, a2 int) T.Long
- func (g *GzFile) Setparams(level, strategy int) int
- func (g *GzFile) Tell() T.Long
- func (g *GzFile) Ungetc(c int) int
- func (g *GzFile) Write(buf *T.Void, leng uint) int
- type GzHeader
- type InFunc
- type InternalState
- type OutFunc
- type ZStream
- func (z *ZStream) Deflate(flush int) int
- func (z *ZStream) DeflateBound(sourceLen T.UnsignedLong) T.UnsignedLong
- func (dst *ZStream) DeflateCopyFrom(src *ZStream) int
- func (src *ZStream) DeflateCopyTo(dst *ZStream) int
- func (z *ZStream) DeflateEnd() int
- func (z *ZStream) DeflateInit(level int, version string, streamSize int) int
- func (z *ZStream) DeflateInit2(level, method, windowBits, memLevel, strategy int, version string, ...) int
- func (z *ZStream) DeflateParams(level, strategy int) int
- func (z *ZStream) DeflatePrime(bits, value int) int
- func (z *ZStream) DeflateReset() int
- func (z *ZStream) DeflateSetDictionary(dictionary *byte, dictLength uint) int
- func (z *ZStream) DeflateSetHeader(head *GzHeader) int
- func (z *ZStream) DeflateTune(goodLength, maxLazy, niceLength, maxChain int) int
- func (z *ZStream) Inflate(flush int) int
- func (z *ZStream) InflateBack(in InFunc, inDesc *T.Void, out OutFunc, outDesc *T.Void) int
- func (z *ZStream) InflateBackEnd() int
- func (z *ZStream) InflateBackInit(windowBits int, window *T.UnsignedChar, version string, streamSize int) int
- func (dst *ZStream) InflateCopyFrom(src *ZStream) int
- func (src *ZStream) InflateCopyTo(dst *ZStream) int
- func (z *ZStream) InflateEnd() int
- func (z *ZStream) InflateGetHeader(head *GzHeader) int
- func (z *ZStream) InflateInit(version string, streamSize int) int
- func (z *ZStream) InflateInit2(windowBits int, version string, streamSize int) int
- func (z *ZStream) InflateMark() T.Long
- func (z *ZStream) InflatePrime(bits, value int) int
- func (z *ZStream) InflateReset() int
- func (z *ZStream) InflateReset2(windowBits int) int
- func (z *ZStream) InflateSetDictionary(dictionary *byte, dictLength uint) int
- func (z *ZStream) InflateSync() int
- func (z *ZStream) InflateSyncPoint() int
- func (z *ZStream) InflateUndermine(i int) int
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ZlibVersion func() string ZlibCompileFlags func() T.UnsignedLong ZError func(int) string Compress func( dst *byte, destLen *T.UnsignedLong, src *byte, sourceLen T.UnsignedLong) int Compress2 func( dst *byte, destLen *T.UnsignedLong, src *byte, sourceLen T.UnsignedLong, level int) int CompressBound func( sourceLen T.UnsignedLong) T.UnsignedLong Uncompress func( dst *byte, dstLen *T.UnsignedLong, src *byte, srcLen T.UnsignedLong) int Adler32 func( adler T.UnsignedLong, buf *byte, len uint) T.UnsignedLong Crc32 func( crc T.UnsignedLong, buf *byte, len uint) T.UnsignedLong Adler32Combine func(T.UnsignedLong, T.UnsignedLong, T.Long) T.UnsignedLong Crc32Combine func(T.UnsignedLong, T.UnsignedLong, T.Long) T.UnsignedLong GetCrcTable func() *T.UnsignedLong )
View Source
var ( Gzdopen func(fd int, mode string) *GzFile Gzopen func(string, string) *GzFile Gzbuffer func(g *GzFile, size uint) int Gzclearerr func(g *GzFile) Gzclose func(g *GzFile) int GzcloseR func(g *GzFile) int GzcloseW func(g *GzFile) int Gzdirect func(g *GzFile) int Gzeof func(g *GzFile) int Gzerror func(g *GzFile, errnum *int) string Gzflush func(g *GzFile, flush int) int Gzgetc func(g *GzFile) int Gzgets func(g *GzFile, buf string, leng int) string Gzoffset func(g *GzFile) T.Long Gzprintf func(g *GzFile, format string, v ...VArg) int Gzputc func(g *GzFile, c int) int Gzputs func(g *GzFile, s string) int Gzread func(g *GzFile, buf *T.Void, leng uint) int Gzrewind func(g *GzFile) int Gzseek func(*GzFile, T.Long, int) T.Long Gzsetparams func(g *GzFile, level, strategy int) int Gztell func(g *GzFile) T.Long Gzungetc func(c int, file *GzFile) int Gzwrite func(g *GzFile, buf *T.Void, leng uint) int )
View Source
var ( Deflate func(z *ZStream, flush int) int DeflateBound func(z *ZStream, sourceLen T.UnsignedLong) T.UnsignedLong DeflateCopy func(dest, source *ZStream) int DeflateEnd func(z *ZStream) int DeflateInit func(z *ZStream, level int, version string, streamSize int) int DeflateInit2 func(z *ZStream, level, method, windowBits, memLevel, strategy int, version string, streamSize int) int DeflateParams func(z *ZStream, level, strategy int) int DeflatePrime func(z *ZStream, bits, value int) int DeflateReset func(z *ZStream) int DeflateSetDictionary func(z *ZStream, dictionary *byte, dictLength uint) int DeflateSetHeader func(z *ZStream, head *GzHeader) int DeflateTune func(z *ZStream, goodLength, maxLazy, niceLength, maxChain int) int Inflate func(z *ZStream, flush int) int InflateBack func(z *ZStream, in InFunc, inDesc *T.Void, out OutFunc, outDesc *T.Void) int InflateBackEnd func(z *ZStream) int InflateBackInit func(z *ZStream, windowBits int, window *T.UnsignedChar, version string, streamSize int) int InflateCopy func(dest, source *ZStream) int InflateEnd func(z *ZStream) int InflateGetHeader func(z *ZStream, head *GzHeader) int InflateInit func(z *ZStream, version string, streamSize int) int InflateInit2 func(z *ZStream, windowBits int, version string, streamSize int) int InflateMark func(z *ZStream) T.Long InflatePrime func(z *ZStream, bits, value int) int InflateReset func(z *ZStream) int InflateReset2 func(z *ZStream, windowBits int) int InflateSetDictionary func(z *ZStream, dictionary *byte, dictLength uint) int InflateSync func(z *ZStream) int InflateSyncPoint func(z *ZStream) int InflateUndermine func(z *ZStream, i int) int )
Functions ¶
This section is empty.
Types ¶
type InternalState ¶
type InternalState struct{}
type ZStream ¶
type ZStream struct { NextIn *byte AvailIn uint TotalIn T.UnsignedLong NextOut *byte AvailOut uint TotalOut T.UnsignedLong Msg *T.Char State *InternalState Zalloc AllocFunc Zfree FreeFunc Opaque *T.Void DataType int Adler T.UnsignedLong // contains filtered or unexported fields }
func (*ZStream) DeflateBound ¶
func (z *ZStream) DeflateBound(sourceLen T.UnsignedLong) T.UnsignedLong
func (*ZStream) DeflateCopyFrom ¶
func (*ZStream) DeflateCopyTo ¶
func (*ZStream) DeflateEnd ¶
func (*ZStream) DeflateInit ¶
func (*ZStream) DeflateInit2 ¶
func (*ZStream) DeflateParams ¶
func (*ZStream) DeflatePrime ¶
func (*ZStream) DeflateReset ¶
func (*ZStream) DeflateSetDictionary ¶
func (*ZStream) DeflateSetHeader ¶
func (*ZStream) DeflateTune ¶
func (*ZStream) InflateBack ¶
func (*ZStream) InflateBackEnd ¶
func (*ZStream) InflateBackInit ¶
func (*ZStream) InflateCopyFrom ¶
func (*ZStream) InflateCopyTo ¶
func (*ZStream) InflateEnd ¶
func (*ZStream) InflateGetHeader ¶
func (*ZStream) InflateInit2 ¶
func (*ZStream) InflateMark ¶
func (*ZStream) InflatePrime ¶
func (*ZStream) InflateReset ¶
func (*ZStream) InflateReset2 ¶
func (*ZStream) InflateSetDictionary ¶
func (*ZStream) InflateSync ¶
func (*ZStream) InflateSyncPoint ¶
func (*ZStream) InflateUndermine ¶
Click to show internal directories.
Click to hide internal directories.