func (s *StatementNumberTag) Unmarshal(value []byte) error {
	elements, err := extractTagElements(value)
	if err != nil {
		return err
	}
	if len(elements) != 2 {
		return fmt.Errorf("%T: Malformed marshaled value", s)
	}
	s.Tag = string(elements[0])
	var numBytes []byte
	if bytes.IndexByte(elements[1], '/') != -1 {
		buf := bytes.NewBuffer(elements[1])
		numBytes, err = buf.ReadBytes('/')
		if err != nil {
			return err
		}
		numBytes = numBytes[:len(numBytes)-1]
		sheetNum, err := strconv.Atoi(buf.String())
		if err != nil {
			return err
		}
		s.SheetNumber = sheetNum
	} else {
		numBytes = elements[1]
	}
	num, err := strconv.Atoi(string(numBytes))
	if err != nil {
		return err
	}
	s.Number = num
	return nil
}
// Unmarshal unmarshals value into s
Unmarshal unmarshals value into s
// Unmarshal unmarshals value into s
func (s *StatementNumberTag) Unmarshal(value []byte) error {
	elements, err := extractTagElements(value)
	if err != nil {
		return err
	}
	if len(elements) != 2 {
		return fmt.Errorf("%T: Malformed marshaled value", s)
	}
	s.Tag = string(elements[0])
	var numBytes []byte
	if bytes.IndexByte(elements[1], '/') != -1 {
		buf := bytes.NewBuffer(elements[1])
		numBytes, err = buf.ReadBytes('/')
		if err != nil {
			return err
		}
		numBytes = numBytes[:len(numBytes)-1]
		sheetNum, err := strconv.Atoi(buf.String())
		if err != nil {
			return err
		}
		s.SheetNumber = sheetNum
	} else {
		numBytes = elements[1]
	}
	num, err := strconv.Atoi(string(numBytes))
	if err != nil {
		return err
	}
	s.Number = num
	return nil
}
func ( s * StatementNumberTag ) Unmarshal ( value [ ] byte ) error { elements , err := extractTagElements ( value ) if err != nil { return err } if len ( elements ) != 2 { return fmt . Errorf ( " " , s ) } s . Tag = string ( elements [ 0 ] ) var numBytes [ ] byte if bytes . IndexByte ( elements [ 1 ] , '/' ) != - 1 { buf := bytes . NewBuffer ( elements [ 1 ] ) numBytes , err = buf . ReadBytes ( '/' ) if err != nil { return err } numBytes = numBytes [ : len ( numBytes ) - 1 ] sheetNum , err := strconv . Atoi ( buf . String ( ) ) if err != nil { return err } s . SheetNumber = sheetNum } else { numBytes = elements [ 1 ] } num , err := strconv . Atoi ( string ( numBytes ) ) if err != nil { return err } s . Number = num return nil }
Unmarshal unmarshals value into s
Unmarshal unmarshals value into s