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

Method write

src/lasindex.cpp:281–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279}
280
281BOOL LASindex::write(FILE* file) const
282{
283 if (file == 0) return FALSE;
284 ByteStreamOut* stream;
285 if (Endian::IS_LITTLE_ENDIAN)
286 stream = new ByteStreamOutFileLE(file);
287 else
288 stream = new ByteStreamOutFileBE(file);
289 if (!write(stream))
290 {
291 delete stream;
292 return FALSE;
293 }
294 delete stream;
295 return TRUE;
296}
297
298BOOL LASindex::read(const char* file_name)
299{

Callers 8

write_pointsFunction · 0.45
write_points_seekFunction · 0.45
putBytesMethod · 0.45

Calls 5

laserrorFunction · 0.85
FileExtSetFunction · 0.85
LASfopenFunction · 0.85
putBytesMethod · 0.45
put32bitsLEMethod · 0.45

Tested by 5

write_pointsFunction · 0.36
write_points_seekFunction · 0.36
putBytesMethod · 0.36