Table of Contents

Class TagMemory

Namespace
TechnologySolutions.Rfid
Assembly
TechnologySolutions.Rfid.Operations.dll

Represents a block of transponder memory

public class TagMemory
Inheritance
TagMemory
Inherited Members

Constructors

TagMemory(byte[], int, int)

Initializes a new instance of the TagMemory class

public TagMemory(byte[] data, int offset, int length)

Parameters

data byte[]

The array to copy the data from

offset int

The offset into the array to start from

length int

The number of bytes to copy

Properties

LengthBits

Gets the length of the TagMemory in bits

public int LengthBits { get; }

Property Value

int

LengthBytes

Gets the length of the TagMemory in bytes

public int LengthBytes { get; }

Property Value

int

LengthWords

Gets the length of the TagMemory in words

public int LengthWords { get; }

Property Value

int

Methods

Parse(string)

Parses hex as a base 16 (hex) encoded text

public static TagMemory Parse(string hex)

Parameters

hex string

The data represented as a hex string

Returns

TagMemory

Exceptions

FormatException

If the format is not valid

ToArray()

Returns the value of the TagMemory as a byte array

public byte[] ToArray()

Returns

byte[]

The value of the TagMemory as a byte array

ToBase16()

Gets the TagMemory as a Base16 (hex) string

public string ToBase16()

Returns

string