public void SerializeToStream(IBinaryTokenStreamWriter stream) { stream.Write(this.Guid); }
// Back-references internal static void WriteReference(this IBinaryTokenStreamWriter @this, int offset) { @this.Write((byte)SerializationTokenType.Reference); @this.Write(offset); }
/// <summary> Write a <c>CorrelationId</c> value to the stream. </summary> internal static void Write(this IBinaryTokenStreamWriter @this, CorrelationId id) { @this.Write(id.ToByteArray()); }
internal static void Write(this IBinaryTokenStreamWriter @this, GrainId id) { @this.Write(id.Key); }
internal static void Write(this IBinaryTokenStreamWriter @this, SerializationTokenType t) { @this.Write((byte)t); }