RangeEncoding

data class RangeEncoding(val start: Int, val end: Int, val encoding: CharacterEncoding) : Parcelable

A character encoding for a given range of bytes.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(start: Int, end: Int, encoding: CharacterEncoding)

Properties

Link copied to clipboard

Character encoding for the given range.

Link copied to clipboard
val end: Int

End index of the range (inclusive).

Link copied to clipboard
val start: Int

Start index of the range.

Functions

Link copied to clipboard
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject