Export (0) Print
Expand All

BinaryWriter Members

BinaryWriter overview

Public Constructors

public constructorBinaryWriter Constructor

Supported by the .NET Compact Framework.

Overloaded. Initializes a new instance of the BinaryWriter class that writes to a stream.

Public Fields

public fieldstatic (Shared in Visual Basic)Null

Supported by the .NET Compact Framework.

Specifies a BinaryWriter with no backing store.

Public Properties

public propertyBaseStream

Supported by the .NET Compact Framework.

Gets the underlying stream of the BinaryWriter.

Public Methods

public methodClose

Supported by the .NET Compact Framework.

Closes the current BinaryWriter and the underlying stream.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodFlush

Supported by the .NET Compact Framework.

Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodSeek

Supported by the .NET Compact Framework.

Sets the position within the current stream.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.
public methodWrite

Supported by the .NET Compact Framework.

Overloaded. Writes a value to the current stream.

Protected Constructors

protected constructorBinaryWriter Constructor

Supported by the .NET Compact Framework.

Overloaded. Initializes a new instance of the BinaryWriter class that writes to a stream.

Protected Fields

protected fieldOutStream

Supported by the .NET Compact Framework.

Holds the underlying stream.

Protected Methods

protected methodDispose Releases the unmanaged resources used by the BinaryWriter and optionally releases the managed resources.
protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.
protected methodWrite7BitEncodedInt

Supported by the .NET Compact Framework.

Writes a 32-bit integer in a compressed format.

See Also

BinaryWriter Class | System.IO Namespace

Show:
© 2014 Microsoft