提交修改
This commit is contained in:
13
Assets/Scripts/ThirdParty/Fantasy.Unity/Runtime/Plugins/Protobuf-net/IProtoInputT.cs
vendored
Normal file
13
Assets/Scripts/ThirdParty/Fantasy.Unity/Runtime/Plugins/Protobuf-net/IProtoInputT.cs
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user