UT330BUI/model/UT330.py
def _read_buffer(self, byte_count):

        """Reads the contents of the buffer and returns it as an integer list.
        """

        # If the page_size is set much larger than this number we tend
        # to get problems with partially filled buffers
        page_size = 32768

        self._buffer = []

        # Read in data in as large chuncks as possible to speed up reading.
        # Read in the largest possible chunks first.
        for i in range(int(byte_count/page_size)):
            self._buffer += self._ut330.read(page_size)

        # Now read in the smallest chunk.
        self._buffer += self._ut330.read(byte_count % page_size)
Reads the contents of the buffer and returns it as an integer list.
        
Reads the contents of the buffer and returns it as an integer list.
Reads the contents of the buffer and returns it as an integer list .
def _read_buffer(self, byte_count):
        page_size = 32768
        self._buffer = []
        for i in range(int(byte_count/page_size)):
            self._buffer += self._ut330.read(page_size)
        self._buffer += self._ut330.read(byte_count % page_size)
def _read_buffer ( self , byte_count ) : page_size = 32768 self . _buffer = [ ] for i in range ( int ( byte_count / page_size ) ) : self . _buffer += self . _ut330 . read ( page_size ) self . _buffer += self . _ut330 . read ( byte_count % page_size )
Reads the contents of the buffer and returns it as an integer list.
Reads the contents of the buffer and returns it as an integer list .
"""Reads the contents of the buffer and returns it as an integer list.
        """ # If the page_size is set much larger than this number we tend # to get problems with partially filled buffers # Read in data in as large chuncks as possible to speed up reading. # Read in the largest possible chunks first. # Now read in the smallest chunk.
self
byte_count