- // Unknown was 'written'
- // deal with Little Endian
- binary_write(*fp, shortLgr);
- binary_write(*fp, z);
+ // GDCM_VRUNKNOWN was stored in the Entry VR;
+ // deal with Entry as if TS were Implicit VR
+
+ // FIXME : troubles expected on big endian processors :
+ // let lgth = 0x00001234
+ // we write 34 12 00 00 on little endian proc (OK)
+ // we write 12 34 00 00 on big endian proc (KO)
+ //binary_write(*fp, shortLgr);
+ //binary_write(*fp, zero);
+
+ binary_write(*fp, lgth);