Documentation ¶
Index ¶
- Constants
- type GitZStream
- func (strm *GitZStream) AvailIn() int
- func (strm *GitZStream) AvailOut() int
- func (strm *GitZStream) Inflate(flag int) (int, error)
- func (strm *GitZStream) InflateEnd() error
- func (strm *GitZStream) InflateInit() error
- func (strm *GitZStream) SetInBuf(buf []byte, size int)
- func (strm *GitZStream) SetOutBuf(buf []byte, size int)
- func (strm *GitZStream) TotalIn() int
- func (strm *GitZStream) TotalOut() int
Constants ¶
View Source
const ( Z_NO_FLUSH = 0 Z_PARTIAL_FLUSH = 1 Z_SYNC_FLUSH = 2 Z_FULL_FLUSH = 3 Z_FINISH = 4 Z_BLOCK = 5 Z_TREES = 6 )
Allowed flush values
View Source
const ( Z_OK = 0 Z_STREAM_END = 1 Z_NEED_DICT = 2 Z_ERRNO = -1 Z_STREAM_ERROR = -2 Z_DATA_ERROR = -3 Z_MEM_ERROR = -4 Z_BUF_ERROR = -5 Z_VERSION_ERROR = -6 )
Return codes
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitZStream ¶
func (*GitZStream) AvailIn ¶
func (strm *GitZStream) AvailIn() int
func (*GitZStream) AvailOut ¶
func (strm *GitZStream) AvailOut() int
func (*GitZStream) InflateEnd ¶
func (strm *GitZStream) InflateEnd() error
func (*GitZStream) InflateInit ¶
func (strm *GitZStream) InflateInit() error
func (*GitZStream) SetInBuf ¶
func (strm *GitZStream) SetInBuf(buf []byte, size int)
func (*GitZStream) SetOutBuf ¶
func (strm *GitZStream) SetOutBuf(buf []byte, size int)
func (*GitZStream) TotalIn ¶
func (strm *GitZStream) TotalIn() int
func (*GitZStream) TotalOut ¶
func (strm *GitZStream) TotalOut() int
Click to show internal directories.
Click to hide internal directories.