BinaryReader getData_paged() { byte[] bin_data = PagingEngine.getData(token); MemoryStream mstream = new MemoryStream(); mstream.Write(bin_data, 0, bin_data.Length); mstream.Position = 0; BinaryReader br = new BinaryReader(mstream); return(br); }
void page() { if (size <= 12 || !Config.GeneralSettings.paged) { return; } paged = true; token = PagingEngine.store(data.ToArray()); data.Close(); data = null; PagingEngine.getData(token); }