using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace SweetLib.IO.Classes.Streaming
{
///
/// Streamable objects
///
public interface IStreamable
{
///
/// Saves the current object into a stream.
///
/// Stream in which the current object should be saved.
void SaveToStream(Stream stream);
///
/// Loads the object from a given stream.
///
/// Stream from which the object is loaded.
void LoadFromStream(Stream stream);
}
}