[This is preliminary documentation and is subject to change.]
Reads elements of a specific type written in the Naiad message format from a Stream.
Inheritance Hierarchy
Microsoft.Research.Naiad.SerializationNaiadReaderTElement
Namespace: Microsoft.Research.Naiad.Serialization
Assembly: Microsoft.Research.Naiad (in Microsoft.Research.Naiad.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
C#
public class NaiadReader<TElement> : IDisposable
Type Parameters
- TElement
- type of records to deserialize
The NaiadReaderTElement type exposes the following members.
Constructors
Name | Description | |
---|---|---|
NaiadReaderTElement |
Constructs a new NaiadReader that consumes data from the given stream and uses the given
serialization format.
|
Methods
Name | Description | |
---|---|---|
Dispose |
Frees all resources associated with this reader.
| |
Read |
Reads an element from the stream, using a specific deserializer.
| |
TryRead |
Tries to read an element from the stream.
| |
TryReadMany |
Attempts to deserialize several elements from the target array segment
|
See Also