OMEXML binary header retrieval code