Go to the documentation of this file.
32 void EnvsatDSR::init(
int size) {
34 buffer = (
char*) malloc(
size);
37 numPixels = (
size - arrayOffset) / pixelSize;
41 printf(
"EnvsatDSR-----\n");
42 printf(
"size = %d\n",
size);
43 printf(
"numPixels = %d\n", numPixels);
69 result = write(fout, buffer + num,
size - num);
86 char* ptr = buffer + arrayOffset +
offset * pixelSize;
88 char* valPtr = (
char*) &val16;
virtual int readData(int fin)
EnvsatDSR(const EnvsatDSR &orig)
int endianess(void)
determine endianess
int swapc_bytes(char *in, int nbyte, int ntime)
int init(int32_t ipr, int32_t jpr, char *efile, char *pfile)
virtual void printRecursive()
virtual int writeData(int fout)
virtual void setRange(int offset, int count, int val)