Table of Contents

Namespace Cuemon.Extensions.IO

Assembly: Cuemon.Extensions.IO.dll

The Cuemon.Extensions.IO namespace contains extension methods that complements the Cuemon.IO namespace while being an addition to the System.IO namespace.

Availability: .NET 8, .NET 7, .NET 6, .NET Standard 2.1 and .NET Standard 2.0

Complements: Cuemon.IO namespace 🔗

Extension Methods

Type Ext Methods
byte[] ⬇️ ToStream, ToStreamAsync
Stream ⬇️ Concat, ToCharArray, ToByteArray, ToByteArrayAsync, WriteAllAsync, TryDetectUnicodeEncoding, ToEncodedString, ToEncodedStringAsync, CompressBrotli, CompressBrotliAsync, CompressDeflate, CompressDeflateAsync, CompressGZip, CompressGZipAsync, DecompressBrotli, DecompressBrotliAsync, DecompressDeflate, DecompressDeflateAsync, DecompressGZip, DecompressGZipAsync
String ⬇️ ToStream, ToStreamAsync, ToTextReader
TextReader ⬇️ CopyToAsync, ReadAllLines, ReadAllLinesAsync

Classes

ByteArrayExtensions

Extension methods for the byte[].

StreamExtensions

Extension methods for the System.IO.Stream class.

StringExtensions

Extension methods for the System.String class.

TextReaderExtensions

Extension methods for the System.IO.TextReader class.