private void Write(CachedEntry entry, FileStream fs)
 {
     fs.Write(entry.Buffer, entry.Offset, entry.Count);
     fs.Flush();
 }
        public override void Write(byte[] buffer, int offset, int count)
        {
            CachedEntry entry = new CachedEntry(buffer, offset, count);

            queueManager.Enqueue(entry);
        }