| | |
| | | Integer icCardNo2Int = Integer.parseInt(icCardNo2) ; |
| | | ByteUtilUnsigned.short2Bytes_LE(bs, icCardNo2Int.shortValue(), index); |
| | | } |
| | | |
| | | public static void createDt(byte[] bs, int index) throws Exception { |
| | | bs[index] = Byte.parseByte(DateTime.ss()) ; |
| | | bs[index + 1] = Byte.parseByte(DateTime.mm()) ; |
| | | bs[index + 2] = Byte.parseByte(DateTime.HH()) ; |
| | | bs[index + 3] = Byte.parseByte(DateTime.dd()) ; |
| | | bs[index + 4] = Byte.parseByte(DateTime.MM()) ; |
| | | bs[index + 5] = Byte.parseByte(DateTime.yy()) ; |
| | | } |
| | | |
| | | |
| | | public static void createPw(byte[] bs, int index) throws Exception { |
| | | bs[index] = 0; |
| | | bs[index + 1] = 0; |