getting the right byte order is important. double array() + byteswap trick to get what google pbf wants (big endian)