DeserializersTryDeserialize Method (RecvBuffer, Int32)Naiad Help

[This is preliminary documentation and is subject to change.]

Attempts to deserialize a value from the given source buffer.

Namespace: Microsoft.Research.Naiad.Serialization
Assembly: Microsoft.Research.Naiad (in Microsoft.Research.Naiad.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax

C#
public static bool TryDeserialize(
	ref RecvBuffer source,
	out int value
)

Parameters

source
Type: Microsoft.Research.Naiad.SerializationRecvBuffer
The target buffer. In the event of success, the current position of the buffer will be advanced.
value
Type: SystemInt32
The deserialized value, if this method returns true.

Return Value

Type: Boolean
True if deserialization succeeded, otherwise false.
See Also

Reference