func (o *Buffer) dec_slice_ref_struct_message(p *Properties, base structPointer) error {
	return o.dec_slice_ref_struct(p, false, base)
}
Decode a slice of references to struct pointers.
package proto
import (
	"reflect"
)
func (o *Buffer) dec_ref_struct_message(p *Properties, base structPointer) (err error) {
	raw, e := o.DecodeRawBytes(false)
	if e != nil {
		return e
	}
	if p.isUnmarshaler {
		panic("not supported, since this is a pointer receiver")
	}
	obuf := o.buf
	oi := o.index
	o.buf = raw
	o.index = 0
	bas := structPointer_FieldPointer(base, p.field)
	err = o.unmarshalType(p.stype, p.sprop, false, bas)
	o.buf = obuf
	o.index = oi
	return err
}
func (o *Buffer) dec_slice_ref_struct(p *Properties, is_group bool, base structPointer) error {
	newBas := appendStructPointer(base, p.field, p.sstype)
	if is_group {
		panic("not supported, maybe in future, if requested.")
	}
	raw, err := o.DecodeRawBytes(false)
	if err != nil {
		return err
	}
	if p.isUnmarshaler {
		panic("not supported, since this is not a pointer receiver.")
	}
	obuf := o.buf
	oi := o.index
	o.buf = raw
	o.index = 0
	err = o.unmarshalType(p.stype, p.sprop, is_group, newBas)
	o.buf = obuf
	o.index = oi
	return err
}