Skip to content

Reference

ByteString Struct

Defines a sequence of byte values.

Reference

ByteString Struct ​

since v2.17

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
ByteString Members
Also in
Opc.UaFx.Client

Defines a sequence of byte values.

Syntax ​

csharp
[OpcDataType(15)]
public struct ByteString
vbnet
<OpcDataType(15)>
Public Structure ByteString

Implements ​

Constructors ​

NameDescription
ByteStringInitializes a new ByteString from the value specified.

Properties ​

NameDescription
LengthGets the total number of elements in all the dimensions of the ByteString.

Methods ​

NameDescription
CompareTo2 overloadsCompares the current ByteString with the other.
Equals2 overloadsDetermines whether the specified other is equal to this ByteString.
GetHashCodeoverrideRetrieves a hash code for this ByteString.
ParsestaticConverts the specified hex encoded byte array to its ByteString equivalent.
ToArraysince v2.18Copies the byte values of the ByteString to a new array.
ToStringoverrideConverts the value of this instance to its equivalent hex encoded string representation.
TryParsestaticTries to convert the specified hex encoded byte array to its ByteString equivalent.

Operators ​

NameDescription
EqualitystaticReturns a value indicating whether two values of ByteString are equal.
ExplicitstaticConverts a ByteString to a byte array.
GreaterThanstaticDetermines whether the first specified ByteString value is greater than the second specified ByteString value.
GreaterThanOrEqualstaticDetermines whether the first specified ByteString value is greater than or equal to the second specified ByteString value.
Implicitstatic · 2 overloadsConverts a byte to a ByteString value.
InequalitystaticReturns a value indicating whether two values of ByteString are not equal.
LessThanstaticDetermines whether the first specified ByteString value is less than the second specified ByteString value.
LessThanOrEqualstaticDetermines whether the first specified ByteString value is less than or equal to the second ByteString value.

Indexers ​

NameDescription
ItemGets the byte at the specified index.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.17–v2.59