func TestCompactText(t *testing.T) { s := proto.CompactTextString(newTestMessage()) if s != compactText { t.Errorf("Got:\n===\n%v===\nExpected:\n===\n%v\n===\n", s, compactText) } }
func (m *PBMessage) String() string { return proto.CompactTextString(m) }
func (m *PBDHTMessage_PBPeer) String() string { return proto.CompactTextString(m) }
func (m *PBData) String() string { return proto.CompactTextString(m) }
func (m *Exchange) String() string { return proto.CompactTextString(m) }
func (m *Hello) String() string { return proto.CompactTextString(m) }
func (m *PBWrapper) String() string { return proto.CompactTextString(m) }
func (m *PBPrivateKey) String() string { return proto.CompactTextString(m) }
func (m *PBPublicKey) String() string { return proto.CompactTextString(m) }