MAX_ESCAPE

const val MAX_ESCAPE: Int = 3

The most characters a percent-encoder writes for one byte: % and two hex digits.