ProtobufTest/Assets/Plugs/protobuf-net/IProtoInputT.cs

14 lines
398 B
C#
Raw Normal View History

2024-05-08 13:44:40 +08:00
namespace ProtoBuf
{
/// <summary>
/// Represents the ability to deserialize values from an input of type <typeparamref name="TInput"/>
/// </summary>
public interface IProtoInput<TInput>
{
/// <summary>
/// Deserialize a value from the input
/// </summary>
T Deserialize<T>(TInput source, T value = default, object userState = null);
}
}