Class StreamUtils
Contains Stream related static methods.
public static class StreamUtils
- Inheritance
-
StreamUtils
Fields
- Empty
Gets an empty stream.
Methods
- AreEqual(MemoryStream, MemoryStream)
Compares two memory streams using byte to byte comparison.
- AreEqual(Stream, Stream)
Compares two streams using byte to byte comparison.
- CopyStream(Stream, string)
Copies stream to the file with the specified path.
- CreateMemoryStream(Stream?)
Creates MemoryStream with data copied from the specified stream.