CompactText writes the compact proto text format of m to w.
(w io.Writer, m Message)
| 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) } |
| 104 | |
| 105 | // CompactTextString returns a compact proto text formatted string of m. |
| 106 | func CompactTextString(m Message) string { return compactTextMarshaler.Text(m) } |