Detailed Description
RfidTag is a class that represents an RfidTag as an array of bytes.
Member Function Documentation
- (id) initFromByteArray: |
|
(CByteArray*) |
data |
withIndex: |
|
(int) |
index |
withByteOrder: |
|
(Endianness) |
byteOrder |
|
|
| |
Initialize an RfidTag object from the given byte array
- Parameters:
-
data | a byte array where the first byte contains the number of bytes in the tag id, followed by the tag id. |
index | the index of the tag id length byte |
byteOrder | |
- Returns:
- The RfidTag object if successful, nil otherwise
- (id) initFromString: |
|
(NSString*) |
tagId |
withByteOrder: |
|
(Endianness) |
byteOrder |
|
|
| |
Initialize an RfidTag object from the given tag id as a string.
- Parameters:
-
tagId | the string containing the tag id |
byteOrder | |
- Returns:
- the RfidTag if successful, nil otherwise.
Get the length of the tag id
- Returns:
- the length of the tag id, in bytes
The documentation for this class was generated from the following files: