public void writePortable(PortableWriter writer) throws IOException { super.writePortable(writer); writer.writeInt("i", index); value.writeData(writer.getRawDataOutput()); }