Utf8Byte Length Filter
This filter will constrain edits so that the text length is not greater than the specified number of bytes using UTF-8 encoding.
Functions
Link copied to clipboard
open fun filter(source: CharSequence, start: Int, end: Int, dest: Spanned, dstart: Int, dend: Int): CharSequence