// MarshalText makes xim.ID fit the encoding.TextMarshaler interface.
MarshalText makes xim.ID fit the encoding.TextMarshaler interface.
// MarshalText makes xim . ID fit the encoding . TextMarshaler interface .
func (receiver ID) MarshalText() (text []byte, err error) {
	if Nothing() == receiver {
		return nil, errNothing
	}
	var serialized string = serialize(receiver.value)
	return []byte(serialized), nil
}
func ( receiver ID ) MarshalText ( ) ( text [ ] byte , err error ) { if Nothing ( ) == receiver { return nil , errNothing } var serialized string = serialize ( receiver . value ) return [ ] byte ( serialized ) , nil }
MarshalText makes xim.ID fit the encoding.TextMarshaler interface.
MarshalText makes xim . ID fit the encoding . TextMarshaler interface .