The following tables list the members exposed by the MifareClassicValueBlock type.
Name | Description | |
---|---|---|
![]() |
Pack(int, long) | Packs value. An example of a valid value block format for the decimal value 1234567 and the block address 17 is shown in Table. First, the decimal value has to be converted to the hexadecimal representation of 0x0012D687. The LSByte of the hexadecimal value is stored in Byte 0, the MSByte in Byte 3. The bit-inverted hexadecimal representation of the value is 0xFFED2978 where the LSByte is stored in Byte 4 and the MSByte in Byte 7. The hexadecimal value of the address in the example is 0x11, the bit inverted hexadecimal value is 0xEE. Table - Value block format example Byte Number 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 Description ---value--- +++VALUE+++ ---value--- ad AD ad AD Values [hex] 87 D6 12 00 78 29 ED FF 87 D6 12 00 11 EE 11 EE. |
![]() |
UnPack(byte[], ref int, ref long) | Unpacks value. |