other_decode_bitfield_value(char *buf, const guint64 val, const guint64 mask, const int width)
{
	int i;
	guint64 bit;
	char *p;

	i = 0;
	p = buf;

	/* This is a devel error. It is safer to stop here. */
	DISSECTOR_ASSERT(width >= 1);

	bit = G_GUINT64_CONSTANT(1) << (width - 1);
	for (;;) {
		if (mask & bit) {
			/* This bit is part of the field.  Show its value. */
			if (val & bit)
				*p++ = '1';
			else
				*p++ = '0';
		} else {
			/* This bit is not part of the field. */
			*p++ = '.';
		}
		bit >>= 1;
		i++;
		if (i >= width)
			break;
		if (i % 4 == 0)
			*p++ = ' ';
	}
	*p = '\0';
	return p;
}
other_decode_bitfield_value(char *buf, const guint64 val, const guint64 mask, const int width)
{
	int i;
	guint64 bit;
	char *p;

	i = 0;
	p = buf;

	 
	DISSECTOR_ASSERT(width >= 1);

	bit = G_GUINT64_CONSTANT(1) << (width - 1);
	for (;;) {
		if (mask & bit) {
			 
			if (val & bit)
				*p++ = '1';
			else
				*p++ = '0';
		} else {
			 
			*p++ = '.';
		}
		bit >>= 1;
		i++;
		if (i >= width)
			break;
		if (i % 4 == 0)
			*p++ = ' ';
	}
	*p = '\0';
	return p;
}