code: static ByteOrder byteOrder() {
          if (byteOrder != null)
              return byteOrder;
          long a = unsafe.allocateMemory(8);
          try {
              unsafe.putLong(a, 0x0102030405060708L);
              byte b = unsafe.getByte(a);
              switch (b) {
              case 0x01: byteOrder = ByteOrder.BIG_ENDIAN;     break;
              case 0x08: byteOrder = ByteOrder.LITTLE_ENDIAN;  break;
              default:
                  assert false;
              }
          } finally {
              unsafe.freeMemory(a);
          }
          return byteOrder;
      }
docs: Returns the byte order of the underlying hardware.
  
  @return  An instance of {@link java.nio.ByteOrder}