eb0e7b1b81
...and make it a top-level function instead. The original idea behind having EncodeMsg in the interface was that implementations might be able to encode RLP data to their underlying writer directly instead of buffering the encoded data. The encoder will buffer anyway, so that doesn't matter anymore. Given the recent problems with EncodeMsg (copy-pasted implementation bug) I'd rather implement once, correctly. |
||
---|---|---|
.. | ||
client_identity_test.go | ||
client_identity.go | ||
message_test.go | ||
message.go | ||
nat.go | ||
natpmp.go | ||
natupnp.go | ||
peer_error.go | ||
peer_test.go | ||
peer.go | ||
protocol_test.go | ||
protocol.go | ||
server_test.go | ||
server.go | ||
testlog_test.go | ||
testpoc7.go |