/// <summary> Read an <c>ActivationId</c> value from the stream. </summary> /// <returns>Data from current position in stream, converted to the appropriate output type.</returns> internal static ActivationId ReadActivationId(this IBinaryTokenStreamReader @this) { UniqueKey key = @this.ReadUniqueKey(); return(ActivationId.GetActivationId(key)); }
/// <summary> Read an <c>GrainId</c> value from the stream. </summary> /// <returns>Data from current position in stream, converted to the appropriate output type.</returns> internal static GrainId ReadGrainId(this IBinaryTokenStreamReader @this) { UniqueKey key = @this.ReadUniqueKey(); return(GrainId.GetGrainId(key)); }