text: public PaletteRecord(RecordInputStream in) {int field_1_numcolors = in.readShort();_colors.ensureCapacity(field_1_numcolors);for (int k = 0; k < field_1_numcolors; k++) {_colors.add(new PColor(in));}}