code: void writeUnary(ByteBuf out, int value) {
          if (value < 0) {
              throw new IllegalArgumentException("value: " + value + " (expected 0 or more)");
          }
          while (value-- > 0) {
              writeBoolean(out, true);
          }
          writeBoolean(out, false);
      }
docs: Writes a zero-terminated unary number to the output {@link ByteBuf}.
  Example of the output for value = 6: {@code 1111110}
  @param value The number of {@code 1} to write