void writeByte(IO out) throws java.io.IOException { out.writeInt(id); out.writeByte(clss); out.writeByte(bitsPerRGB); out.writeShort(colormapEntries); out.writeInt(redMask); out.writeInt(greenMask); out.writeInt(blueMask); out.writePad(4); }