Lines Matching defs:read
1 """Simple class to read IFF chunks.
22 the start of each chunk and read from the instance until it reaches
35 data = chunk.read(nbytes)
41 read, close, seek, tell, isatty.
61 self.chunkname = file.read(4)
65 self.chunksize = struct.unpack(strflag+'L', file.read(4))[0]
120 def read(self, size=-1):
121 """Read at most size bytes from the chunk.
122 If size is omitted or negative, read until the end
134 data = self.file.read(size)
139 dummy = self.file.read(1)
165 dummy = self.read(n)