Represents a set of messages with the v0 or v1 format
This is the old format that KafkaEx supported
See https://kafka.apache.org/documentation/#recordbatch
@type t() :: %Kayrock.MessageSet{magic: term(), messages: term()}
@spec deserialize(binary()) :: t()
@spec serialize(t()) :: iodata()