Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

BinaryWriter Members

Writes primitive types in binary to a stream and supports writing strings in a specific encoding.

The following tables list the members exposed by the BinaryWriter type.

(see also Protected Constructors )
  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework BinaryWriter Overloaded. Initializes a new instance of the BinaryWriter class that writes to a stream.
Top
  Name Description
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework BinaryWriter Overloaded. Initializes a new instance of the BinaryWriter class that writes to a stream.
Top
(see also Protected Fields )
  Name Description
Public field Static Supported by the .NET Compact Framework Supported by the XNA Framework Null Specifies a BinaryWriter with no backing store.
Top
  Name Description
Protected field Supported by the .NET Compact Framework Supported by the XNA Framework OutStream Holds the underlying stream.
Top
  Name Description
Public property Supported by the .NET Compact Framework Supported by the XNA Framework BaseStream Gets the underlying stream of the BinaryWriter.
Top
(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Close Closes the current BinaryWriter and the underlying stream.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Flush Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Seek Sets the position within the current stream.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Write Overloaded. Writes a value to the current stream.
Top
  Name Description
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Dispose Releases the unmanaged resources used by the BinaryWriter and optionally releases the managed resources.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Write7BitEncodedInt Writes a 32-bit integer in a compressed format.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.