Searched refs:berTlv (Results 1 – 3 of 3) sorted by relevance
97 std::vector<uint8_t> berTlv) { in getDataFromBerTlv() argument98 if (berTlv.empty()) { in getDataFromBerTlv()101 size_t lengthTag = berTlv[0]; in getDataFromBerTlv()102 DLOG_IF(INFO, nfc_debug_enabled) << "decodeBerTlv: berTlv[0]=" << berTlv[0]; in getDataFromBerTlv()107 if (lengthTag < 0x80 && berTlv.size() == (lengthTag + 1)) { in getDataFromBerTlv()108 return std::vector<uint8_t>(berTlv.begin() + 1, berTlv.end()); in getDataFromBerTlv()109 } else if (lengthTag == 0x81 && berTlv.size() > 2) { in getDataFromBerTlv()110 size_t length = berTlv[1]; in getDataFromBerTlv()111 if ((length + 2) == berTlv.size()) { in getDataFromBerTlv()112 return std::vector<uint8_t>(berTlv.begin() + 2, berTlv.end()); in getDataFromBerTlv()[all …]
33 std::vector<uint8_t> getDataFromBerTlv(std::vector<uint8_t> berTlv);
255 BerTlv berTlv = (BerTlv) obj; in equals() local256 if (mTag == berTlv.mTag) { in equals()258 byte[] test2 = berTlv.getValue(); in equals()