Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
System.IO Namespace
BinaryReader Class
 BinaryReader Members

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
BinaryReader Members

Reads primitive data types as binary values in a specific encoding.

The BinaryReader type exposes the following members.

  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkBinaryReaderOverloaded. Initializes a new instance of the BinaryReader class.
Top
  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkClose Closes the current reader and the underlying stream.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkDispose Releases the unmanaged resources used by the BinaryReader and optionally releases the managed resources.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkEquals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFillBuffer Fills the internal buffer with the specified number of bytes read from the stream.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFinalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetType Gets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkMemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkPeekChar Returns the next available character and does not advance the byte or character position.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReadOverloaded. Reads characters from the underlying stream and advances the current position of the stream.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkRead7BitEncodedInt Reads in a 32-bit integer in compressed format.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReadBoolean Reads a Boolean value from the current stream and advances the current position of the stream by one byte.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReadByte Reads the next byte from the current stream and advances the current position of the stream by one byte.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReadBytes Reads count bytes from the current stream into a byte array and advances the current position by count bytes.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReadChar Reads the next character from the current stream and advances the current position of the stream in accordance with the Encoding used and the specific character being read from the stream.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReadChars Reads count characters from the current stream, returns the data in a character array, and advances the current position in accordance with the Encoding used and the specific character being read from the stream.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReadDecimal Reads a decimal value from the current stream and advances the current position of the stream by sixteen bytes.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReadDouble Reads an 8-byte floating point value from the current stream and advances the current position of the stream by eight bytes.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReadInt16 Reads a 2-byte signed integer from the current stream and advances the current position of the stream by two bytes.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReadInt32 Reads a 4-byte signed integer from the current stream and advances the current position of the stream by four bytes.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReadInt64 Reads an 8-byte signed integer from the current stream and advances the current position of the stream by eight bytes.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReadSByte Reads a signed byte from this stream and advances the current position of the stream by one byte.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReadSingle Reads a 4-byte floating point value from the current stream and advances the current position of the stream by four bytes.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReadString Reads a string from the current stream. The string is prefixed with the length, encoded as an integer seven bits at a time.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReadUInt16 Reads a 2-byte unsigned integer from the current stream using little-endian encoding and advances the position of the stream by two bytes.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReadUInt32 Reads a 4-byte unsigned integer from the current stream and advances the position of the stream by four bytes.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReadUInt64 Reads an 8-byte unsigned integer from the current stream and advances the position of the stream by eight bytes.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToString Returns a String that represents the current Object. (Inherited from Object.)
Top
  NameDescription
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkBaseStream Exposes access to the underlying stream of the BinaryReader.
Top
  NameDescription
Explicit interface implemetationPrivate methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkIDisposable..::.DisposeInfrastructure. Releases all resources used by the BinaryWriter.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker