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

Function getNBytes

io/private/esri/EsriUtil.cpp:93–100  ·  view source on GitHub ↗

Helper function to get size of compressed data

Source from the content-addressed store, hash-verified

91
92// Helper function to get size of compressed data
93int getNBytes(ContextWrapper& ctx, const unsigned char* compressed, int nInfo)
94{
95 lepcc_blobType bt;
96 lepcc::uint32 blobSize = 0;
97 lepcc::ErrCode errCode = (lepcc::ErrCode)lepcc_getBlobInfo(ctx,
98 compressed, nInfo, &bt, &blobSize);
99 return (errCode == lepcc::ErrCode::Ok) ? (int)blobSize : -1;
100}
101
102std::vector<lepcc::Point3D> decompressXYZ(std::vector<char>* compData)
103{

Callers 3

decompressXYZFunction · 0.85
decompressRGBFunction · 0.85
decompressIntensityFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected