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
intThe offset into the array to start from
length
intThe number of bytes to copy
Properties
LengthBits
Gets the length of the TagMemory in bits
public int LengthBits { get; }
Property Value
LengthBytes
Gets the length of the TagMemory in bytes
public int LengthBytes { get; }
Property Value
LengthWords
Gets the length of the TagMemory in words
public int LengthWords { get; }
Property Value
Methods
Parse(string)
Parses hex as a base 16 (hex) encoded text
public static TagMemory Parse(string hex)
Parameters
hex
stringThe data represented as a hex string
Returns
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()