private void EncodeNumericCompleteString(string text) { text = PDF417.ValidateDigits(text); this.encodedRawData.Add(902L); this.encodedRawData.AddRange((IEnumerable <long>)NumericMode.EncodeData(text)); }
private void EncodeNumeric(string text, ref int dataIndex, int numberOfDigitsAtPosition) { this.encodedRawData.Add(902L); this.encodedRawData.AddRange((IEnumerable <long>)NumericMode.EncodeData(text.Substring(dataIndex, numberOfDigitsAtPosition))); dataIndex += numberOfDigitsAtPosition; }