SerializersSerialize Method (SubArrayByte, UInt64)Naiad Help

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

Attempts to serialize the given value to the given target 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 SubArray<byte> Serialize(
	this SubArray<byte> target,
	ulong source
)

Parameters

target
Type: Microsoft.Research.Naiad.SerializationSubArrayByte
The target buffer.
source
Type: SystemUInt64
The value to be serialized.

Return Value

Type: SubArrayByte
The original target buffer if serialization failed, otherwise the updated target buffer.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type SubArrayByte. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

Reference