System.IO.BinaryWriter: Constructor Members

The constructors of System.IO.BinaryWriter are listed below. For a list of all members, see the BinaryWriter Members list.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.IO.BinaryWriter class based on the specified stream and using UTF-8 encoding.

Initializes a new instance of the System.IO.BinaryWriter class based on the specified stream and character encoding.

Initializes a new instance of the System.IO.BinaryWriter class based on the specified stream and character encoding, and optionally leaves the stream open.

Protected Constructors

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