code: protected static synchronized void registerAdaptiveProtocol(ProtocolInfo protocolInfo) {
          // 取最大偏移量
          maxMagicOffset = Math.max(maxMagicOffset, protocolInfo.magicFieldOffset() + protocolInfo.magicFieldLength());
      }
docs: 注册协议到适配协议
  
  @param protocolInfo 协议描述信息