Table of Contents

Enum DataSegmentMode

Namespace
Net.Codecrete.QrCodeGenerator
Assembly
QrCodeGenerator.dll

Data segment mode.

Data segments can contain bytes as payload, or they can have a special function like ECI data segments. The mode describes what type of segment it is, and how the bytes are encoded.

public enum DataSegmentMode

Fields

Alphanumeric = 2

Alphanumeric mode.

Data segment with payload consisting of 0 to 9, A to Z (uppercase only), space, dollar, percent, asterisk, plus, hyphen, period, slash, colon.

Binary = 4

Binary data.

Data segment with payload consisting of arbitrary binary data.

ECI = 5

Extended character set indicator (ECI).

Data segment indicating the character encoding of the following data segments.

Kanji = 3

Kanji mode.

Data segment with payload consisting of double-byte Shift JIS characters, or any byte sequences with the same byte values.

Numeric = 1

Numeric mode.

Data segment with payload consisting of the decimal digits 0 to 9.

StructuredAppend = 6

Structured append.

Data segment indicating the sequence number and total number of QR codes if data is split across multiple QR codes.