Export (0) Print
Expand All

BinaryReader Members

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

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

  Name Description
Public method Supported by the .NET Compact Framework BinaryReader Overloaded. Initializes a new instance of the BinaryReader class.
Top

  Name Description
Public property Supported by the .NET Compact Framework BaseStream Exposes access to the underlying stream of the BinaryReader.
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Close Closes the current reader and the underlying stream.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework PeekChar Returns the next available character and does not advance the byte or character position.
Public method Supported by the .NET Compact Framework Read Overloaded. Reads characters from the underlying stream and advances the current position of the stream.
Public method Supported by the .NET Compact Framework ReadBoolean Reads a Boolean value from the current stream and advances the current position of the stream by one byte.
Public method Supported by the .NET Compact Framework ReadByte Reads the next byte from the current stream and advances the current position of the stream by one byte.
Public method Supported by the .NET Compact Framework ReadBytes Reads count bytes from the current stream into a byte array and advances the current position by count bytes.
Public method Supported by the .NET Compact Framework ReadChar 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 method Supported by the .NET Compact Framework ReadChars 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 method ReadDecimal Reads a decimal value from the current stream and advances the current position of the stream by sixteen bytes.
Public method Supported by the .NET Compact Framework ReadDouble Reads an 8-byte floating point value from the current stream and advances the current position of the stream by eight bytes.
Public method Supported by the .NET Compact Framework ReadInt16 Reads a 2-byte signed integer from the current stream and advances the current position of the stream by two bytes.
Public method Supported by the .NET Compact Framework ReadInt32 Reads a 4-byte signed integer from the current stream and advances the current position of the stream by four bytes.
Public method Supported by the .NET Compact Framework ReadInt64 Reads an 8-byte signed integer from the current stream and advances the current position of the stream by eight bytes.
Public method Supported by the .NET Compact Framework ReadSByte Reads a signed byte from this stream and advances the current position of the stream by one byte.
Public method Supported by the .NET Compact Framework ReadSingle Reads a 4-byte floating point value from the current stream and advances the current position of the stream by four bytes.
Public method Supported by the .NET Compact Framework ReadString Reads a string from the current stream. The string is prefixed with the length, encoded as an integer seven bits at a time.
Public method Supported by the .NET Compact Framework ReadUInt16 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 method Supported by the .NET Compact Framework ReadUInt32 Reads a 4-byte unsigned integer from the current stream and advances the position of the stream by four bytes.
Public method Supported by the .NET Compact Framework ReadUInt64 Reads an 8-byte unsigned integer from the current stream and advances the position of the stream by eight bytes.
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 ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Supported by the .NET Compact Framework Dispose Releases the unmanaged resources used by the BinaryReader and optionally releases the managed resources.
Protected method Supported by the .NET Compact Framework FillBuffer Fills the internal buffer with the specified number of bytes read from the stream.
Protected method Supported by the .NET Compact 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 MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Read7BitEncodedInt Reads in a 32-bit integer in compressed format.
Top

  Name Description
Explicit interface implementation Method Supported by the .NET Compact Framework System.IDisposable.Dispose Releases all resources used by the BinaryWriter.
Top

Community Additions

ADD
Show:
© 2014 Microsoft