MCPcopy Create free account
hub / github.com/PDAL/PDAL / fillHeader

Method fillHeader

io/private/las/Vlr.cpp:105–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105void Vlr::fillHeader(const char *buf)
106{
107 LeExtractor in(buf, Vlr::HeaderSize);
108 uint16_t dataLen;
109
110 in >> recordSig;
111 in.get(userId, 16);
112 // Trim all characters after a NULL
113 userId = userId.data();
114 in >> recordId >> dataLen;
115 in.get(description, 32);
116 // Trim all characters after a NULL
117 description = description.data();
118 promisedDataSize = dataLen;
119}
120
121std::vector<char> Vlr::headerData() const
122{

Callers 2

walkVlrsMethod · 0.45
walkEvlrsMethod · 0.45

Calls 2

getMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected