def get(self, index):
        """Get a chunk by index"""
        assert index <= self.count
        assert index < self.size
        offset = index * self.chunk_size
        return self.data[offset:offset + self.chunk_size]
Get a chunk by index