Dave Collins
6286a39378
Combine readMessage with ReadMessage.
...
These functions used to be split into multiple files, but since the code
was reorganized there is no longer any reason to split them.
2013-05-09 20:16:46 -05:00
Dave Collins
970b9c129d
Remove dead error check.
...
The io.ReadFull function always returns an error if the full payload can't
be read, so there is no reason to further check if the payload length
matches after a successful read.
2013-05-09 15:23:31 -05:00
Dave Collins
c369c0c16e
Correct discardInput comment for buffer size.
...
This was pointed out by kaptin on IRC.
2013-05-09 13:00:00 -05:00
Dave Collins
e473fd6eb8
Add message tests for MsgAlert and MsgMemPool.
2013-05-09 00:01:29 -05:00
Dave Collins
69b27dd5d3
Initial implementation.
2013-05-08 18:58:29 -05:00