public XenonReader(Stream source, string name, int bufferSize = 1024 * 1024) { this.name = name; this.size = bufferSize; this.inner = new BufferWindow(Environment.ProcessorCount, size, source); }
public static Task Process(this BufferWindow window, Action <BufferEntry> callback) { return(window.Process(new CallbackHandler(callback))); }