Package-level declarations

Types

Link copied to clipboard
class BitBuffer

An appendable sequence of bits (0s and 1s). Mainly used by QrSegment.

Link copied to clipboard

Thrown when the supplied data does not fit any QR Code version. Ways to handle this exception include:

Link copied to clipboard
class QrCode(val version: Int, val errorCorrectionLevel: QrCode.Ecc, dataCodewords: ByteArray, msk: Int)

A QR Code symbol, which is a type of two-dimension barcode. Invented by Denso Wave and described in the ISO/IEC 18004 standard.

Link copied to clipboard
class QrSegment(val mode: QrSegment.Mode, val numChars: Int, data: BitBuffer)

A segment of character/binary/control data in a QR Code symbol. Instances of this class are immutable.

Link copied to clipboard

Splits text into optimal segments and encodes kanji segments. Provides static functions only; not instantiable.