Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
// TODO FIXME : Maybe we should allocate somewhere a static buffer,
// in order not to have to alloc/delete for almost every BinEntry ...
// TODO FIXME : Maybe we should allocate somewhere a static buffer,
// in order not to have to alloc/delete for almost every BinEntry ...
// how many BUFFER_SIZE long pieces in binArea ?
int nbPieces = lgr/BUFFER_SIZE/2; //(16 bits = 2 Bytes)
// how many BUFFER_SIZE long pieces in binArea ?
int nbPieces = lgr/BUFFER_SIZE/2; //(16 bits = 2 Bytes)
}
fp->write ( (char*)currPosition, BUFFER_SIZE );
currPosition += BUFFER_SIZE/2;
}
fp->write ( (char*)currPosition, BUFFER_SIZE );
currPosition += BUFFER_SIZE/2;