code: public <T> HandlerRegistration register(Serdes<T> serdes) {
          final HandlerRegistration desReg = register((Deserializer<T>) serdes);
          final HandlerRegistration serReg = register((Serializer<T>) serdes);
  
          return new HandlerRegistration() {
              @Override
              public void removeHandler() {
                  desReg.removeHandler();
                  serReg.removeHandler();
              }
          };
      }
docs: Register a serializer/deserializer of the given type.
  
  @param serdes    The serializer/deserializer of T.
  @param <T>       The type of the object to be serialized/deserialized.
  
  @return  The {@link HandlerRegistration} object, capable of cancelling this HandlerRegistration
  to the {@link SerdesManagerImpl}.