mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
14 lines
398 B
C#
14 lines
398 B
C#
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);
|
|
}
|
|
}
|