2015-04-21 18:27:52 +00:00
|
|
|
|
namespace ProtoBuf
|
2014-07-08 12:58:53 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Used to hold particulars relating to nested objects. This is opaque to the caller - simply
|
|
|
|
|
/// give back the token you are given at the end of an object.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public struct SubItemToken
|
|
|
|
|
{
|
|
|
|
|
internal readonly int value;
|
2015-04-21 18:27:52 +00:00
|
|
|
|
|
|
|
|
|
internal SubItemToken(int value)
|
|
|
|
|
{
|
2014-07-08 12:58:53 +00:00
|
|
|
|
this.value = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
2015-04-21 18:27:52 +00:00
|
|
|
|
}
|