ALE.FileSystem.ReadAsyncCallbackState.ReadAsyncCallbackState C# (CSharp) Method

ReadAsyncCallbackState() public method

public ReadAsyncCallbackState ( FileStream fs, byte buffer, Action callback ) : System
fs System.IO.FileStream
buffer byte
callback Action
return System
        public ReadAsyncCallbackState(FileStream fs, byte[] buffer, Action<Exception, long, byte[]> callback)
        {
            FileStream = fs;
            Buffer = buffer;
            Callback = callback;
            RemainingBytes = fs.Length;
        }
ReadAsyncCallbackState