func (b *Base64Data) UnmarshalText(text []byte) error {
	if n := base64.StdEncoding.DecodedLen(len(text)); cap(*b) < n {
		*b = make([]byte, n)
	}
	n, err := base64.StdEncoding.Decode(*b, text)
	*b = (*b)[:n]
	return err
}
// UnmarshalText implements encoding.TextUnmarshaller - convert from Base64 to byte.
UnmarshalText implements encoding.TextUnmarshaller - convert from Base64 to byte.
// UnmarshalText implements encoding . TextUnmarshaller - convert from Base64 to byte .
func (b *Base64Data) UnmarshalText(text []byte) error {
	if n := base64.StdEncoding.DecodedLen(len(text)); cap(*b) < n {
		*b = make([]byte, n)
	}
	n, err := base64.StdEncoding.Decode(*b, text)
	*b = (*b)[:n]
	return err
}
func ( b * Base64Data ) UnmarshalText ( text [ ] byte ) error { if n := base64 . StdEncoding . DecodedLen ( len ( text ) ) ; cap ( * b ) < n { * b = make ( [ ] byte , n ) } n , err := base64 . StdEncoding . Decode ( * b , text ) * b = ( * b ) [ : n ] return err }
UnmarshalText implements encoding.TextUnmarshaller - convert from Base64 to byte.
UnmarshalText implements encoding . TextUnmarshaller - convert from Base64 to byte .