Share via


BinaryWriter Constructor

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Protected methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 BinaryWriter() Initializes a new instance of the BinaryWriter class that writes to a stream.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 BinaryWriter(Stream) Initializes a new instance of the BinaryWriter class based on the supplied stream and using UTF-8 as the encoding for strings.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 BinaryWriter(Stream, Encoding) Initializes a new instance of the BinaryWriter class based on the supplied stream and a specific character encoding.

Top