Gemstone PhasorProtocols Library
Show/Hide TOC

# CommonParseByteTag Method

Validates and parses byte length sample value tag.

## Definition

Namespace: Gemstone.PhasorProtocols.IEC61850_90_5
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.172 -- Release Build+8ff484d27be470a9f139c028632b756fcaea69c8
C#
View Source Request Example

    public static byte ParseByteTag(
    	this byte[] buffer,
    	SampledValueTag tag,
    	ref int index
    )

VB
View Source Request Example

    <ExtensionAttribute>
    Public Shared Function ParseByteTag (
    	buffer As Byte(),
    	tag As SampledValueTag,
    	ByRef index As Integer
    ) As Byte

C++
View Source Request Example

    public:
    [ExtensionAttribute]
    static unsigned char ParseByteTag(
    	array<unsigned char>^ buffer,
    	SampledValueTag tag,
    	int% index
    )

JavaScript
View Source Request Example

    Gemstone.PhasorProtocols.IEC61850_90_5.Common.ParseByteTag = function(buffer, tag, index);

#### Parameters

buffer Byte
  Buffer containing sampled value.
tag SampledValueTag
  Sampled value tag to parse.
index Int32
  Start index of buffer where tag length begins - will be auto-incremented.

#### Return Value

Byte
Parsed byte tag.

#### Usage Note

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

Common Class
Gemstone.PhasorProtocols.IEC61850_90_5 Namespace