Was this page helpful?

ISerializer Interface

    Table of contents
    1. 1. Remarks
    2. 2. Members
      1. 2.1. Methods
    Table of Contents
    public abstract interface ISerializer
    Namespace: MindTouch.IO
    Assembly: mindtouch.dream
    Type Hierarchy:
    • ISerializer
    Provides a stream based contract for serializing types to binary and back.

    Remarks

    This contract assumes that implementations will only read from and write to the stream and not try to alter it otherwise.

    Members

    Methods

    Visibility Description
    Public Deserialize(Stream stream) Return an instance of the specified type by reading from the System.IO.Stream at its current position.
    Public Serialize(Stream stream, T data) Write the provided instance at the current position in the stream.
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by