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 9, .NET 8, .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 Stream class.

StringExtensions

Extension methods for the String class.

TextReaderExtensions

Extension methods for the TextReader class.