Octane SDK
2.0 Beta
|
Class used to hold tag data in the raw form in which it is stored on the tag (list of unsigned shorts). More...
Public Member Functions | |
string | ToHexString () |
Conversion utility that outputs the data of the TagData object as a string in hexadecimal format, with no spaces between each word. More... | |
string | ToHexWordString () |
Conversion utility that outputs the data of the TagData object as a string in hexadecimal format, with each word separated by a space. More... | |
List< ushort > | ToList () |
Conversion utility that outputs the data of the TagData object as a list. More... | |
override string | ToString () |
Conversion utility that outputs the data of the TagData object as a string in hexadecimal format, with each word separated by a space. More... | |
uint | ToUnsignedInt () |
Conversion utility that outputs the data of the TagData object as an unsigned int. This will only work for TagData objects that contain 1 or 2 16-bit words of data. More... | |
Static Public Member Functions | |
static TagData | FromByteArray (byte[] data) |
Constructor that creates a TagData object populated with data from a byte array. More... | |
static TagData | FromByteList (List< byte > data) |
Constructor that creates a TagData object populated with data from a list of bytes. More... | |
static TagData | FromHexString (string hex) |
Constructor that creates a TagData object populated with data from a Hex string of arbitrary length. More... | |
static TagData | FromUnsignedInt (uint data) |
Constructor that creates a TagData object populated with data from an unsigned int. More... | |
static TagData | FromWord (ushort data) |
Constructor that creates a TagData object populated with data from a single 16-bit word More... | |
static TagData | FromWordArray (ushort[] data) |
Constructor that creates a TagData object populated with data from an array of words More... | |
static TagData | FromWordList (List< ushort > data) |
Constructor that creates a TagData object populated with data from a list of words (ushort). More... | |
Properties | |
int | CountBytes [get] |
The size of the tag data, in bytes. More... | |
Class used to hold tag data in the raw form in which it is stored on the tag (list of unsigned shorts).
|
static |
Constructor that creates a TagData object populated with data from a byte array.
data | Populated byte array. |
OctaneSdkException | Thrown when a zero length or null byte array is provided. |
|
static |
Constructor that creates a TagData object populated with data from a list of bytes.
data | Populated list of bytes. |
OctaneSdkException | Thrown when a zero length or null list of bytes is provided. |
|
static |
Constructor that creates a TagData object populated with data from a Hex string of arbitrary length.
hex | Hex number represented as a string. |
OctaneSdkException | Thrown when a null or non-hex string is provided. |
|
static |
|
static |
Constructor that creates a TagData object populated with data from a single 16-bit word
data | Word to add to the TagData object. |
OctaneSdkException | Thrown when a null word is provided. |
|
static |
Constructor that creates a TagData object populated with data from an array of words
data | Populated array of words. |
OctaneSdkException | Thrown when a null word array is provided. |
|
static |
Constructor that creates a TagData object populated with data from a list of words (ushort).
data | Populated list of words. |
OctaneSdkException | Thrown when a zero length or null word list is provided. |
string Impinj.OctaneSdk.TagData.ToHexString | ( | ) |
string Impinj.OctaneSdk.TagData.ToHexWordString | ( | ) |
List<ushort> Impinj.OctaneSdk.TagData.ToList | ( | ) |
override string Impinj.OctaneSdk.TagData.ToString | ( | ) |
uint Impinj.OctaneSdk.TagData.ToUnsignedInt | ( | ) |
Conversion utility that outputs the data of the TagData object as an unsigned int. This will only work for TagData objects that contain 1 or 2 16-bit words of data.
OctaneSdkException | Thrown when the TagData object contains more than 32-bits of data. |
|
get |
The size of the tag data, in bytes.