# File lib/codec/data.rb, line 152
      def list
        return array if code == Cproton::PN_ARRAY
        expect Cproton::PN_LIST
        count = get_list
        a = []
        enter_exit { fill(a, count, __method__) }
      end