Home
last modified time | relevance | path

Searched refs:MarshalText (Results 1 – 2 of 2) sorted by relevance

/external/golang-protobuf/proto/
Dtext_test.go55 func (*textMessage) MarshalText() ([]byte, error) { func
170 if err := proto.MarshalText(buf, newTestMessage()); err != nil {
181 if err := proto.MarshalText(buf, &textMessage{}); err != nil {
194 if err := proto.MarshalText(buf, test); err != nil {
242 proto.MarshalText(buf, m)
250 proto.MarshalText(w, m)
333 if err := proto.MarshalText(&buf, tc.in); err != nil {
382 err := proto.MarshalText(buf, newTestMessage())
Dtext.go525 text, err := v.Interface().(encoding.TextMarshaler).MarshalText()
797 text, err := etm.MarshalText()
836 func MarshalText(w io.Writer, pb Message) error { return defaultTextMarshaler.Marshal(w, pb) } func