internal override BitList GetDataBits(string content)
        {
            ECISet eciSet = new ECISet(ECISet.AppendOption.NameToValue);
            if(!eciSet.ContainsECIName(Encoding))
            {
                throw new ArgumentOutOfRangeException("Encoding",
                                                      "Current ECI table does not support this encoding. Please check ECISet class for more info");
            }

            byte[] contentBytes = EncodeContent(content, Encoding);

            return GetDataBitsByByteArray(contentBytes, Encoding);
        }
Beispiel #2
0
        internal override BitList GetDataBits(string content)
        {
            ECISet eciSet = new ECISet(ECISet.AppendOption.NameToValue);

            if (!eciSet.ContainsECIName(Encoding))
            {
                throw new ArgumentOutOfRangeException("Encoding",
                                                      "Current ECI table does not support this encoding. Please check ECISet class for more info");
            }

            byte[] contentBytes = EncodeContent(content, Encoding);

            return(GetDataBitsByByteArray(contentBytes, Encoding));
        }