def read(klass)
      size = Delimited.read_uvarint(io)
      klass.decode io.read(size) unless size.zero?
    end
def read(klass)
      size = Delimited.read_uvarint(io)
      klass.decode io.read(size) unless size.zero?
    end
Reads the next message