GRASS 8 Programmer's Manual 8.6.0dev(2026)-ddeab64dbf
Loading...
Searching...
No Matches
long.c File Reference
#include "raster3d_intern.h"
Include dependency graph for long.c:

Go to the source code of this file.

Functions

int Rast3d_long_encode (long *source, unsigned char *dst, int nofNums)
 
void Rast3d_long_decode (unsigned char *source, long *dst, int nofNums, int longNbytes)
 

Function Documentation

◆ Rast3d_long_decode()

void Rast3d_long_decode ( unsigned char source,
long dst,
int  nofNums,
int  longNbytes 
)

Definition at line 35 of file long.c.

References Rast3d_fatal_error(), and RASTER3D_LONG_LENGTH.

Referenced by Rast3d_open_cell_old().

◆ Rast3d_long_encode()

int Rast3d_long_encode ( long source,
unsigned char dst,
int  nofNums 
)

Definition at line 5 of file long.c.

References RASTER3D_LONG_LENGTH, and RASTER3D_MIN.

Referenced by Rast3d_flush_index().