Gemstone PhasorProtocols Library
Show/Hide TOC

# CommonParseUInt64Tag Method

Validates and parses 8-byte length sample value tag.

## Definition

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

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

VB
View Source Request Example

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

C++
View Source Request Example

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

JavaScript
View Source Request Example

    Gemstone.PhasorProtocols.IEC61850_90_5.Common.ParseUInt64Tag = 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

UInt64
Parsed uint64 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