Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

ZXPDF417HighLevelEncoder.h 1.3KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Copyright 2006 Jeremias Maerki in part, and ZXing Authors in part
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. #import "ZXEncodeHints.h"
  17. extern const NSStringEncoding ZX_PDF417_DEFAULT_ENCODING;
  18. /**
  19. * PDF417 high-level encoder following the algorithm described in ISO/IEC 15438:2001(E) in
  20. * annex P.
  21. */
  22. @interface ZXPDF417HighLevelEncoder : NSObject
  23. /**
  24. * Performs high-level encoding of a PDF417 message using the algorithm described in annex P
  25. * of ISO/IEC 15438:2001(E). If byte compaction has been selected, then only byte compaction
  26. * is used.
  27. *
  28. * @param msg the message
  29. * @return the encoded message (the char values range from 0 to 928)
  30. */
  31. + (NSString *)encodeHighLevel:(NSString *)msg compaction:(ZXPDF417Compaction)compaction encoding:(NSStringEncoding)encoding error:(NSError **)error;
  32. @end