docs: public static void encodeConfiguration(CounterConfiguration configuration, Consumer<Byte> byteConsumer,
           LongConsumer longConsumer, IntConsumer intConsumer) {
        byteConsumer.accept(encodeTypeAndStorage(configuration));
        switch (configuration.type()) {
           case WEAK:
              intConsumer.accept(configuration.concurrencyLevel());
              break;
           case BOUNDED_STRONG:
              longConsumer.accept(configuration.lowerBound());
              longConsumer.accept(configuration.upperBound());
              break;
           case UNBOUNDED_STRONG:
              break;
           default:
              throw new IllegalStateException();
        }
        longConsumer.accept(configuration.initialValue());
     }