CommonEncodeTagLength(UInt16, Byte, Int32) Method

Encodes sample value tag length (currently limited to 16-bits).

Definition

Namespace: Gemstone.PhasorProtocols.IEC61850_90_5
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.169 -- Release Build+e4259ba28a774b11cdfe2fb15417e91c0c3ba498
public static void EncodeTagLength(
	this ushort length,
	byte[] buffer,
	ref int index
)

Parameters

length  UInt16
Sample value tag length.
buffer  Byte
Buffer to hold encoded sampled value tag length.
index  Int32
Start index of buffer where tag length encoding begins - will be auto-incremented.

Usage Note

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