func (r *ReferencingMessageDataElement) UnmarshalHBCI(value []byte) error {
	elements, err := ExtractElements(value)
	if len(elements) != 2 {
		return fmt.Errorf("Malformed marshaled value")
	}
	dialogID := charset.ToUTF8(elements[0])
	num, err := strconv.Atoi(charset.ToUTF8(elements[1]))
	if err != nil {
		return fmt.Errorf("%T: Malformed message number: %v", r, err)
	}
	*r = *NewReferencingMessage(dialogID, num)
	return nil
}
// UnmarshalHBCI unmarshals value into r
UnmarshalHBCI unmarshals value into r
// UnmarshalHBCI unmarshals value into r
func (r *ReferencingMessageDataElement) UnmarshalHBCI(value []byte) error {
	elements, err := ExtractElements(value)
	if len(elements) != 2 {
		return fmt.Errorf("Malformed marshaled value")
	}
	dialogID := charset.ToUTF8(elements[0])
	num, err := strconv.Atoi(charset.ToUTF8(elements[1]))
	if err != nil {
		return fmt.Errorf("%T: Malformed message number: %v", r, err)
	}
	*r = *NewReferencingMessage(dialogID, num)
	return nil
}
func ( r * ReferencingMessageDataElement ) UnmarshalHBCI ( value [ ] byte ) error { elements , err := ExtractElements ( value ) if len ( elements ) != 2 { return fmt . Errorf ( " " ) } dialogID := charset . ToUTF8 ( elements [ 0 ] ) num , err := strconv . Atoi ( charset . ToUTF8 ( elements [ 1 ] ) ) if err != nil { return fmt . Errorf ( " " , r , err ) } * r = * NewReferencingMessage ( dialogID , num ) return nil }
UnmarshalHBCI unmarshals value into r
UnmarshalHBCI unmarshals value into r