mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-27 16:49:56 +00:00
17 lines
451 B
C#
17 lines
451 B
C#
using SabreTools.Models.PIC;
|
|
using SabreTools.Serialization.Interfaces;
|
|
|
|
namespace SabreTools.Serialization.Files
|
|
{
|
|
public partial class PIC : IFileSerializer<DiscInformation>
|
|
{
|
|
/// <inheritdoc/>
|
|
public DiscInformation? Deserialize(string? path)
|
|
{
|
|
using (var stream = PathProcessor.OpenStream(path))
|
|
{
|
|
return new Streams.PIC().Deserialize(stream);
|
|
}
|
|
}
|
|
}
|
|
} |