Scoop API

scoop:scoop.core:0.1.0

CharacterCodingException

class CharacterCodingException

source · line 70
public
public class CharacterCodingException public constructor(
    /**
     * The zero-based byte offset associated with the invalid encoding.
     */
    public val byteOffset: Long) : Exception(Some("invalid UTF-8"))

Reports malformed UTF-8 and the byte offset where validation failed.

property byteOffset

source · line 74
public
public val byteOffset: Long

get: public read-only

The zero-based byte offset associated with the invalid encoding.