code: @Override
    public void readFields(DataInput in) throws IOException {
      int numEntries = in.readInt();
      partialListing = new HdfsFileStatus[numEntries];
      for (int i=0; i<numEntries; i++) {
        partialListing[i] = new HdfsFileStatus();
        partialListing[i].readFields(in);
      }
      remainingEntries = in.readInt();
    }
docs: Writable interface