Lines Matching defs:read
8 The open file pointer must have methods read(), seek(), and close().
112 self.chunkname = file.read(4)
116 self.chunksize = struct.unpack_from(strflag+'L', file.read(4))[0]
164 def read(self, size=-1):
166 If size is omitted or negative, read until the end
178 data = self.file.read(size)
183 dummy = self.file.read(1)
209 dummy = self.read(n)
219 _file -- the open file with methods read(), close(), and seek()
238 _fmt_chunk_read -- 1 iff the FMT chunk has been read
251 if self._file.read(4) != b'WAVE':
362 data = self._data_chunk.read(nframes * self._framesize)
376 wFormatTag, self._nchannels, self._framerate, dwAvgBytesPerSec, wBlockAlign = struct.unpack_from('<HHLLH', chunk.read(14))
381 sampwidth = struct.unpack_from('<H', chunk.read(2))[0]