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.
65 self.chunkname = file.read(4)
69 self.chunksize = struct.unpack_from(strflag+'L', file.read(4))[0]
126 def read(self, size=-1):
128 If size is omitted or negative, read until the end
140 data = self.file.read(size)
145 dummy = self.file.read(1)
171 dummy = self.read(n)