# File lib/codec/data.rb, line 226
    def decode(encoded)
      check(Cproton.pn_data_decode(@data, encoded, encoded.length))
    end