Click or drag to resize

CommonEncodeTagLength(UInt16, SampledValueTag, Byte, Int32) Method

Encodes sampled value tag with only a 16-bit length.

Namespace: GSF.PhasorProtocols.IEC61850_90_5
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.181-beta
Syntax
public static void EncodeTagLength(
	this ushort length,
	SampledValueTag tag,
	byte[] buffer,
	ref int index
)
View Source

Parameters

length  UInt16
Value to encode.
tag  SampledValueTag
Sampled value tag to encode.
buffer  Byte
Buffer to hold encoded sampled value.
index  Int32
Start index of buffer where tag will begin - 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