ALE.FileSystem.ReadAsyncCallbackState.ReadAsyncCallbackState C# (CSharp) Méthode

ReadAsyncCallbackState() public méthode

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