/// See ISO 18004:2006, 6.4.1, Tables 2 and 3. This enum encapsulates the various modes in which
/// data can be encoded to bits in the QR code standard.
///
/// @author Sean Owen
///
public class Mode
{
private Mode()
{
}
private class InnerMode : Mode
{
private readonly int[] characterCountBitsForVersions;
private readonly int bits;
public InnerMode(int[] characterCountBitsForVersions, int bits)
{
this.characterCountBitsForVersions = characterCountBitsForVersions;
this.bits = bits;
}
public override int Bits
{
get { return bits; }
}
///