MCPcopy Create free account
hub / github.com/LASzip/LASzip / read

Method read

src/lasindex.cpp:264–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264BOOL LASindex::read(FILE* file)
265{
266 if (file == 0) return FALSE;
267 ByteStreamIn* stream;
268 if (Endian::IS_LITTLE_ENDIAN)
269 stream = new ByteStreamInFileLE(file);
270 else
271 stream = new ByteStreamInFileBE(file);
272 if (!read(stream))
273 {
274 delete stream;
275 return FALSE;
276 }
277 delete stream;
278 return TRUE;
279}
280
281BOOL LASindex::write(FILE* file) const
282{

Callers 6

read_pointsFunction · 0.45
read_points_seekFunction · 0.45
getBytesMethod · 0.45

Calls 8

laserrorFunction · 0.85
FileExtSetFunction · 0.85
LASfopenFunction · 0.85
get_cellsMethod · 0.80
has_cellsMethod · 0.80
manage_cellMethod · 0.80
getBytesMethod · 0.45
get32bitsLEMethod · 0.45

Tested by 3

read_pointsFunction · 0.36
read_points_seekFunction · 0.36
getBytesMethod · 0.36