Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\zlib_deflate\deflate.c Create Date:2022-07-28 06:58:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:read_buf

Proto:static int read_buf(z_streamp strm, Byte *buf, unsigned size)

Type:int

Parameter:

TypeParameterName
z_streampstrm
Byte *buf
unsignedsize
499  len = number of bytes available at next_in
501  If len > size Then len = size
502  If len == 0 Then Return 0
504  number of bytes available at next_in -= len
506  If Not noheader Then
507  adler32 value of the uncompressed data = Update a running Adler-32 checksum with the bytes buf[0..len-1] andreturn the updated checksum. If buf is NULL, this function returnsthe required initial value for the checksum.An Adler-32 checksum is almost as reliable as a CRC32 but can be computed
509  No 3D Now!(buf, next input byte , len)
510  next input byte += len
511  total nb of input bytes read so far += len
513  Return len
Caller
NameDescribe
fill_windowCompression function. Returns the block state after the call.