Provides an iterator over the messages in this set
Provides an iterator over the messages in this set
Gives the total size of this message set in bytes
Validate the checksum of all the messages in the set.
Validate the checksum of all the messages in the set. Throws an InvalidMessageException if the checksum doesn't match the payload for any message.
A set of messages. A message set has a fixed serialized form, though the container for the bytes could be either in-memory or on disk. A The format of each message is as follows: 4 byte size containing an integer N N message bytes as described in the message class