Add a standard or extended VLR depending on the data size. \param userId - VLR user ID \param recordId - VLR record ID \param description - VLR description \param data - Raw VLR data
| 596 | /// \param description - VLR description |
| 597 | /// \param data - Raw VLR data |
| 598 | void LasWriter::addVlr(const std::string& userId, uint16_t recordId, |
| 599 | const std::string& description, const std::vector<uint8_t>& data) |
| 600 | { |
| 601 | std::vector<char> v((const char *)data.data(), (const char *)(data.data() + data.size())); |
| 602 | las::Evlr vlr(userId, recordId, description, std::move(v)); |
| 603 | addVlr(vlr); |
| 604 | } |
| 605 | |
| 606 | /// Add a standard or variable-length VLR depending on the data size. |
| 607 | /// \param userId - VLR user ID |
nothing calls this directly
no test coverage detected