public byte[] getColor(int byteIndex) {int i = byteIndex - FIRST_COLOR_INDEX;if (i < 0 || i >= _colors.size()) {return null;}return _colors.get(i).getTriplet();}
public byte[] GetColor(short byteIndex){int i = byteIndex - FIRST_COLOR_INDEX;if (i < 0 || i >= field_2_colors.Count){return null;}PColor color = (PColor)field_2_colors[i];return new byte[] { color._red, color._green, color._blue };}