DryadLinqBinaryReader is the main interface for user provided custom serializers.
It is also used for DryadLINQ internal autoserialization to read primitive types.
Inheritance Hierarchy
Microsoft.Research.DryadLinqDryadLinqBinaryReader
Namespace: Microsoft.Research.DryadLinq
Assembly: Microsoft.Research.DryadLinq (in Microsoft.Research.DryadLinq.dll) Version: 0.2.1.0 (0.2.1.0)
Syntax
The DryadLinqBinaryReader type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ReadBool |
Reads a boolean value from the current reader and advances the current
position of the reader by one byte.
| |
| ReadBytes |
Reads byteCount bytes into destBuffer starting at offset.
| |
| ReadChar |
Reads a character from the current reader and advances the current position of the reader
according to the encoding and the character.
| |
| ReadChars |
Reads charCount chars into destBuffer starting at offset.
| |
| ReadCompactInt32 |
Reads a 32-bit signed integer from the current reader. Assumes that the integer
is represented in the compact format as written by WriteCompact of a DryadLinqBinaryWriter.
| |
| ReadDateTime |
Reads a value of DateTime from the current reader.
| |
| ReadDecimal |
Reads a decimal number from the current reader.
| |
| ReadDouble |
Reads a 64-bit floating point number from the current reader.
| |
| ReadGuid |
Reads a value of Guid from the current reader.
| |
| ReadInt16 |
Reads a 16-bit signed integer from the current reader.
| |
| ReadInt32 |
Reads a 32-bit signed integer from the current reader.
| |
| ReadInt64 |
Reads a 64-bit signed integer from the current reader.
| |
| ReadRawBytes |
public helper to read into a byte*, mainly used to read preallocated fixed size,
non-integer types (Array, Guid, decimal etc)
| |
| ReadSByte |
Reads a signed byte from the current reader and advances the current
position of the reader by one byte.
| |
| ReadSingle |
Reads a 32-bit floating point number from the current reader.
| |
| ReadSqlDateTime |
Reads a value of SqlDateTime from the current reader.
| |
| ReadString |
Reads a string value from the current reader.
| |
| ReadUByte |
Reads a byte from the current reader and advances the current position of the
reader by one byte.
| |
| ReadUInt16 |
Reads a 16-bit unsigned integer from the current reader.
| |
| ReadUInt32 |
Reads a 32-bit unsigned integer from the current reader.
| |
| ReadUInt64 |
Reads a 64-bit unsigned integer from the current reader.
| |
| ToString |
Returns a string that represents this DryadLinqBinaryReader object.
(Overrides ObjectToString.) |
See Also