Lines Matching refs:size
9 | size (4 bytes) |
17 The size field (a 32-bit value, encoded using big-endian byte order)
18 gives the size of the whole chunk, including the 8-byte header.
87 """Return the size of the current chunk."""
126 def read(self, size=-1):
127 """Read at most size bytes from the chunk.
128 If size is omitted or negative, read until the end
136 if size < 0:
137 size = self.chunksize - self.size_read
138 if size > self.chunksize - self.size_read:
139 size = self.chunksize - self.size_read
140 data = self.file.read(size)