[This is preliminary documentation and is subject to change.]
Writes elements of a specific type in the Naiad message format to a Stream.
Inheritance Hierarchy
Microsoft.Research.Naiad.SerializationNaiadWriterTElement
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 NaiadWriter<TElement> : IDisposable, IFlushable
Type Parameters
- TElement
- The type of elements.
The NaiadWriterTElement type exposes the following members.
Constructors
Name | Description | |
---|---|---|
NaiadWriterTElement |
Constructs a new NaiadWriter that writes to the given stream and uses the given serialization format.
|
Methods
Name | Description | |
---|---|---|
Dispose |
Frees all resources associated with this writer.
| |
Flush |
Flushes any unwritten data to the underlying stream
| |
Write |
Writes the given element to the stream.
|
See Also