// // Licensed under the MIT License. See LICENSE file in the project root for full license information. // namespace MUnique.OpenMU.Pathfinding.PreCalculation; using System.IO; /// /// Interface for a paths serializer. /// internal interface IPathsSerializer { /// /// Deserializes the path infos from the specified source. /// /// The source. /// The path infos. IEnumerable Deserialize(Stream source); /// /// Serializes the specified path infos into the stream. /// /// The path infos. /// The target stream. void Serialize(IEnumerable pathInfos, Stream targetStream); }