DryadLinqBinaryWriter is the main interface for user provided custom serializers.
It is also used for DryadLINQ internal autoserialization to write primitive types.
Inheritance Hierarchy
Microsoft.Research.DryadLinqDryadLinqBinaryWriter
Namespace: Microsoft.Research.DryadLinq
Assembly: Microsoft.Research.DryadLinq (in Microsoft.Research.DryadLinq.dll) Version: 0.2.1.0 (0.2.1.0)
Syntax
The DryadLinqBinaryWriter 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.) | |
ToString |
Returns a string that represents the current DryadLinqBinaryWriter object.
(Overrides ObjectToString.) | |
Write(Boolean) |
Writes a boolean value to the current writer.
| |
Write(Byte) |
Writes an unsigned byte to the current writer.
| |
Write(Char) |
Writes a character to the current writer.
| |
Write(SqlDateTime) |
Writes a value of SqlDateTime to the current writer.
| |
Write(DateTime) |
Writes a value of DateTime to the current writer.
| |
Write(Decimal) |
Writes a decimal number to the current writer.
| |
Write(Double) |
Writes a 64-bit floating point number to the current writer.
| |
Write(Guid) |
Writes a value of Guid to the current writer.
| |
Write(Int16) |
Writes a signed 16-bit integer to the current writer.
| |
Write(Int32) |
Writes a signed 32-bit integer to the current writer.
| |
Write(Int64) |
Writes a signed 64-bit integer to the current writer.
| |
Write(SByte) |
Writes a signed byte to the current writer.
| |
Write(Single) |
Writes a 32-bit floating point number to the current writer.
| |
Write(String) |
Writes a string to the current writer.
| |
Write(UInt16) |
Writes an unsigned 16-bit integer to the current writer.
| |
Write(UInt32) |
writes an unsigned 32-bit integer to the current writer.
| |
Write(UInt64) |
Writes a unsigned 64-bit integer to the current writer.
| |
WriteBytes |
Writes an array of bytes to the current writer.
| |
WriteChars |
Writes an array of characters to the current writer.
| |
WriteCompact |
Writes a 32-bit signed integer to the current writer. The integer
is written in a compact format.
| |
WriteRawBytes |
Public helper to write from a caller provided byte* to the output stream.
This is mainly used to read preallocated fixed size, non-integer types (Guid, decimal etc).
|
See Also