Utf8ByteLengthFilter

This filter will constrain edits so that the text length is not greater than the specified number of bytes using UTF-8 encoding.

Constructors

Link copied to clipboard
constructor(maxBytes: Int)

Functions

Link copied to clipboard
open fun filter(source: CharSequence, start: Int, end: Int, dest: Spanned, dstart: Int, dend: Int): CharSequence