public final void writeLanguage(final ZippyBuffer writer, final boolean isExternal)
     throws IOException {
   if (isExternal) {
     writer.writeRawVarInt(45);
   }
   if (this.getInput() != null) {
     writer.writeRawVarInt(1);
     this.getInput().writeLangType(writer);
   }
   if (this.getOutput() != null) {
     writer.writeRawVarInt(2);
     this.getOutput().writeLangType(writer);
   }
   writer.writeRawVarInt(0);
 }