MarshalTextString returns a proto text formatted string of m.
(m Message)
| 98 | |
| 99 | // MarshalTextString returns a proto text formatted string of m. |
| 100 | func MarshalTextString(m Message) string { return defaultTextMarshaler.Text(m) } |
| 101 | |
| 102 | // CompactText writes the compact proto text format of m to w. |
| 103 | func CompactText(w io.Writer, m Message) error { return compactTextMarshaler.Marshal(w, m) } |