trivial change to fix incorrect comment in Message

This commit is contained in:
Jun Rao 2013-05-29 21:34:11 -07:00
parent 436dd25a48
commit 492ed7a35d
1 changed files with 3 additions and 2 deletions

View File

@ -74,8 +74,9 @@ object Message {
* 3. 1 byte "attributes" identifier to allow annotations on the message independent of the version (e.g. compression enabled, type of codec used)
* 4. 4 byte key length, containing length K
* 5. K byte key
* 6. (N - K - 10) byte payload
*
* 6. 4 byte payload length, containing length V
* 7. V byte payload
*
* Default constructor wraps an existing ByteBuffer with the Message object with no change to the contents.
*/
class Message(val buffer: ByteBuffer) {