Namespace: Contracts
Assembly: Contracts (in Contracts.dll)

Public Class StreamHelper
This language is not supported or no code example is available.
public static class StreamHelper
This language is not supported or no code example is available.
public ref class StreamHelper 
This language is not supported or no code example is available.
public class StreamHelper
This language is not supported or no code example is available.
Name Description
Public method Static CreateBinaryReader(Stream) Create a binary reader that won't close our stream
Public method Static CreateBinaryWriter(Stream) Create a binary writer that won't close our stream
Public method Static CreateSerializingBinaryReader(MemoryStream, string) Create a new serializing binary reader
Public method Static CreateSerializingBinaryWriter(MemoryStream)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (inherited from Object).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method GetHashCode Serves as the default hash function. (inherited from Object).
Public method GetType Gets the Type of the current instance. (inherited from Object).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method Static ReadData(Stream, byte[], int, bool) Reading data
Public method Static ReadData(Stream, byte[], int, int, bool) Reading data
Public method ToString Returns a string that represents the current object. (inherited from Object).
Top
Name Description
Public class BinaryReader
Public class BinaryWriter
Public class NonClosingStream An internal stream that can't close
Top
Contracts.StreamHelper

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1