Exemplo n.º 1
0
        public void OpenFile(string path = @"C:\Users\litao\Pictures\盘龙gbk.txt")
        {
            _largeFile = new LargeFile(path);
            CacheBuffer cacheBuffer = new CacheBuffer(_largeFile);

            _presentBuffer = new PresentBuffer(cacheBuffer);
            _presentBuffer.Read(0);
            Text = _presentBuffer.Text;
        }
Exemplo n.º 2
0
 public PresentBuffer(CacheBuffer cacheBuffer)
 {
     _cacheBuffer = cacheBuffer;
 }