SubItemToken.cs 424 B

1234567891011121314
  1. 
  2. namespace ProtoBuf
  3. {
  4. /// <summary>
  5. /// Used to hold particulars relating to nested objects. This is opaque to the caller - simply
  6. /// give back the token you are given at the end of an object.
  7. /// </summary>
  8. public struct SubItemToken
  9. {
  10. internal readonly long value64;
  11. internal SubItemToken(int value) { value64 = value;}
  12. internal SubItemToken(long value) { value64 = value;}
  13. }
  14. }