code: public Object readLengthList(AbstractHessianInput in, int length)
          throws IOException
      {
          Object[] data = createArray(length);
  
          in.addRef(data);
  
          if (_componentType != null) {
              for (int i = 0; i < data.length; i++)
                  data[i] = in.readObject(_componentType);
          }
          else {
              for (int i = 0; i < data.length; i++)
                  data[i] = in.readObject();
          }
  
          return data;
      }
docs: Reads the array.