TableBased

class TableBased(name: String, table: IntArray) : DBaseCharset

Single-byte codepage backed by a 256-entry lookup table mapping each byte value to a Unicode codepoint (-1 for undefined positions). Only BMP codepoints are supported (good enough for Windows-125x and Cyrillic OEM pages).

Constructors

Link copied to clipboard
constructor(name: String, table: IntArray)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun decode(bytes: ByteArray, offset: Int, length: Int): String