From 4e21e051d7099c119f763d5bad961b9797ccc92e Mon Sep 17 00:00:00 2001 From: Igor Skljar <39621064+it240884sii@users.noreply.github.com> Date: Fri, 5 Aug 2022 01:32:20 +0300 Subject: [PATCH] Update BcdPrefixer.java add length encoded with 6 BCD digits --- jpos/src/main/java/org/jpos/iso/BcdPrefixer.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jpos/src/main/java/org/jpos/iso/BcdPrefixer.java b/jpos/src/main/java/org/jpos/iso/BcdPrefixer.java index fff21e3e8e..3db9675693 100644 --- a/jpos/src/main/java/org/jpos/iso/BcdPrefixer.java +++ b/jpos/src/main/java/org/jpos/iso/BcdPrefixer.java @@ -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;