支持将非字节数据转换为RFID标签中存储的顺序的方法。 更多...
静态 Public 成员函数 | |
static byte[] | ToBytes (int ushortData) |
Convert a 16-bit unsigned short integer into a byte array that can be written to RFID tag. Lower index has MSB. | |
static byte[] | ToBytes (long uintData) |
Convert a 32-bit unsigned integer into a byte array that can be written to RFID tag. Lower index has MSB. | |
static String | ToHex (byte[] bytes) |
Convenience routine that takes an array of bytes and converts to hex string that can be written to RFID tag. | |
static String | ToHex (int ushortData) |
Convert a 2-byte unsigned integer into hex string that can be written on RFID tag. | |
static String | ToHex (long uintData) |
Convert a 4-byte unsigned integer into hex string that can be written on RFID tag. | |
static String | ToHex (String asciiString) |
Convenience routine that takes an ASCII string and converts to hex. | |
static int | ToUInt (byte[] bytesFromRfidTag) |
Convert 4 bytes read from RFID tag into 32 bit unsigned integer | |
static int | ToUShort (byte[] bytesFromRfidTag) |
Convert 2 bytes read from RFID tag into 16 bit unsigned integer | |
支持将非字节数据转换为RFID标签中存储的顺序的方法。
数据在RFID标签中以MSB到LSB顺序存储。运行SDK的PC可能是小端或大端格式,这些支持方法有助于处理受运行SDK的平台字节序影响的转换。