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));}}
public PaletteRecord(RecordInputStream in1){short field_1_numcolors = in1.ReadShort();field_2_colors = new List<PColor>(field_1_numcolors);for (int k = 0; k < field_1_numcolors; k++){field_2_colors.Add(new PColor(in1));}}