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

Method headerData

io/private/las/Vlr.cpp:121–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121std::vector<char> Vlr::headerData() const
122{
123 std::vector<char> buf(HeaderSize);
124
125 assert(dataVec.size() <= (std::numeric_limits<uint16_t>::max)());
126 LeInserter out(buf.data(), HeaderSize);
127 out << recordSig;
128 out.put(userId, 16);
129 out << recordId << (uint16_t)(dataVec.size());
130 out.put(description, 32);
131
132 return buf;
133}
134
135void Evlr::fillHeader(const char *buf)
136{

Callers 3

prepOutputMethod · 0.80
finishOutputMethod · 0.80
writeEvlrsMethod · 0.80

Calls 3

sizeMethod · 0.45
dataMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected