#define CODE1 0xFF //VRL #define CODE2 0x46 //kadr #define CODE3 0xD5 //header #define CODE_BYTE1 0xFA //PAMELA #define CODE_BYTE2 0xFE //packet #define CODE_BYTE3 0xDE //header #define NumberPack (int)(53) //Number of PAMELA packets #define copy(x) ((x)>0 ? "cp" : "copy") #define dir(y) ((y)>0 ? "mkdir" : "md") #define Nmax (int)(1.*powf(10.,8.))//maximum allowable size of buffer, in bytes #define Limit (int)(1.*powf(10.,5.))//maximum size of PAMELA packet, in bytes #define GLOBAL_LEN_ER 1 //Flag to account for length error in PAMELA packets #define VRL_HEADER 1 //Flag to account for VRL headers