Protocols Protocol components can be plugged into either input <input> or output <output> modules and are responsible for converting incoming and outgoing data. There are 2 types of protocol modules: decode encode