# File lib/codec/data.rb, line 650
    def timestamp=(value)
      value = value.to_i if (!value.nil? && value.is_a?(Time))
      check(Cproton.pn_data_put_timestamp(@data, value))
    end