/* Returns the UTF-16 byte order, as an ENC_xxx_ENDIAN value, by checking the 2-byte byte order mark. If there is no byte order mark, 0xFFFFFFFF is returned.  */
static guint spotlight_get_utf16_string_byte_order(tvbuff_t *tvb, gint offset, gint query_length, guint encoding)
/* Returns the UTF-16 byte order, as an ENC_xxx_ENDIAN value, by checking the 2-byte byte order mark. If there is no byte order mark, 0xFFFFFFFF is returned.  */
static guint spotlight_get_utf16_string_byte_order(tvbuff_t *tvb, gint offset, gint query_length, guint encoding)
{
		guint16 byte_order_mark;
		byte_order_mark = tvb_get_guint16(tvb, offset, encoding);
		if (byte_order_mark == 0xFFFE) {
			byte_order = ENC_BIG_ENDIAN;
		}
		else if (byte_order_mark == 0xFEFF) {
			byte_order = ENC_LITTLE_ENDIAN;
		}
	}
	return byte_order;
}