Click or drag to resize

HelpersToBytes Method

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

Namespace:  MLAPI.Transports.UNET
Assembly:  MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static void ToBytes(
	this byte[] b,
	ushort data,
	int offset = 0
)
Request Example View Source

Parameters

b
Type: SystemByte
data
Type: SystemUInt16
offset (Optional)
Type: SystemInt32

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . 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