code: private static void handleLastChar(final StringBuilder buffer, final int escapeCounter, final char curChar) {
          if (curChar == ESCAPE_CHAR) {
              writeUnescapedEscapeChars(escapeCounter + 1, buffer);
          } else {
              handleLiteralChar(buffer, escapeCounter, curChar);
          }
      }
docs: 28 bytes (allows immediate JVM inlining: < 35 bytes) LOG4J2-1096