Ejemplo n.º 1
0
        public XenonReader(Stream source, string name, int bufferSize = 1024 * 1024)
        {
            this.name = name;
            this.size = bufferSize;

            this.inner = new BufferWindow(Environment.ProcessorCount, size, source);
        }
Ejemplo n.º 2
0
 public static Task Process(this BufferWindow window, Action <BufferEntry> callback)
 {
     return(window.Process(new CallbackHandler(callback)));
 }