> > le_int8 appears to do a 64 bit byte order swap to adjust the > > endianness of a quantity. What bgzip.c does at this point is the > > following (removed if() for clarity): > > > > uint64_t n = idx->n; > > fwrite(le_int8(&n), sizeof(n), 1, idx_f);
Now fixed and pushed. Thanks. James -- James Bonfield (j...@sanger.ac.uk) | Hora aderat briligi. Nunc et Slythia Tova | Plurima gyrabant gymbolitare vabo; A Staden Package developer: | Et Borogovorum mimzebant undique formae, https://sf.net/projects/staden/ | Momiferique omnes exgrabure Rathi. -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.