diff options
author | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2020-08-20 15:59:58 +0200 |
---|---|---|
committer | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2020-08-20 15:59:58 +0200 |
commit | 747d5f5b5591dbc2d9a4ca4ca9b3f2205e06bf29 (patch) | |
tree | 73a7ea66861778bbd0d6f289624b5303770a6393 /src/org/uic/barcode | |
parent | cleaned (diff) | |
download | UIC-barcode-747d5f5b5591dbc2d9a4ca4ca9b3f2205e06bf29.tar UIC-barcode-747d5f5b5591dbc2d9a4ca4ca9b3f2205e06bf29.tar.gz UIC-barcode-747d5f5b5591dbc2d9a4ca4ca9b3f2205e06bf29.tar.bz2 UIC-barcode-747d5f5b5591dbc2d9a4ca4ca9b3f2205e06bf29.tar.lz UIC-barcode-747d5f5b5591dbc2d9a4ca4ca9b3f2205e06bf29.tar.xz UIC-barcode-747d5f5b5591dbc2d9a4ca4ca9b3f2205e06bf29.tar.zst UIC-barcode-747d5f5b5591dbc2d9a4ca4ca9b3f2205e06bf29.zip |
Diffstat (limited to 'src/org/uic/barcode')
-rw-r--r-- | src/org/uic/barcode/staticFrame/StaticFrame.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/org/uic/barcode/staticFrame/StaticFrame.java b/src/org/uic/barcode/staticFrame/StaticFrame.java index da7ce60..6df104b 100644 --- a/src/org/uic/barcode/staticFrame/StaticFrame.java +++ b/src/org/uic/barcode/staticFrame/StaticFrame.java @@ -576,9 +576,11 @@ public class StaticFrame { int sequenceTag = 16 + 32; // (bits 6 = 1 constructed)
//INTEGER --> tag 2
int integerTag = 2;
- byte[] b1 = toUnsignedBytes(r);
+
+ byte[] b1 = r.toByteArray();
int lb1 = b1.length;
- byte[] b2 = toUnsignedBytes(s);
+
+ byte[] b2 = s.toByteArray();
int lb2 = b2.length;
int sequenceLength = lb1 + lb2 + 4;
|