'Read from the memory device, null padding the ranges.'

def Read(self, length):

    to_read = min(length, (self.size - self.offset))
    result = self.address_space.read(self.offset, to_read)
    self.offset += len(result)
    return result
