public async Task ReadToEnd()
        {
            const string fileName = "RFC2046-1.txt";
            var          reader   = new FileByteReader();
            await reader.GetReaderAsync(fileName);

            reader.Endstring = "\r\n.\r\n";
            var stream = await reader.GetMemoryStreamAsync();

            reader.Dispose(false);
        }
 public async Task ReadToEnd()
 {
     const string fileName = "RFC2046-1.txt";
     var reader = new FileByteReader();
     await reader.GetReaderAsync(fileName);
     reader.Endstring = "\r\n.\r\n";
     var stream = await reader.GetMemoryStreamAsync();
     reader.Dispose(false);
 }