/* The macros are here to save on coding. They assume that the current offset is in 'offset', and that the offset should be incremented after performing the macro's operation.  */
static void OUT_RXArray8(ptvcursor_t *cursor, int field, int field_size, int encoding)
/* The macros are here to save on coding. They assume that the current offset is in 'offset', and that the offset should be incremented after performing the macro's operation.  */
static void OUT_RXArray8(ptvcursor_t *cursor, int field, int field_size, int encoding)
{
	unsigned int i,
		size = tvb_get_guint8(ptvcursor_tvbuff(cursor), ptvcursor_current_offset(cursor));
	ptvcursor_advance(cursor, 1);
	for (i=0; i<size; i++) {
		ptvcursor_add(cursor, field, field_size, encoding);
	}
}