Skip to content

Commit

Permalink
Update BcdPrefixer.java
Browse files Browse the repository at this point in the history
add length encoded with 6 BCD digits
  • Loading branch information
it240884sii authored Aug 4, 2022
1 parent 8ad3ff6 commit 4e21e05
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jpos/src/main/java/org/jpos/iso/BcdPrefixer.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ public class BcdPrefixer implements Prefixer
* A length prefixer for up to 99999 chars. The length is encoded with 5 BCD digits.
*/
public static final BcdPrefixer LLLLL = new BcdPrefixer(5);
/**
* A length prefixer for up to 999999 chars. The length is encoded with 6 BCD digits.
*/
public static final BcdPrefixer LLLLLL = new BcdPrefixer(6);

/** The number of digits allowed to express the length */
private int nDigits;
Expand Down

0 comments on commit 4e21e05

Please sign in to comment.