summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/uic/barcode/asn1
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/uic/barcode/asn1')
-rw-r--r--src/main/java/org/uic/barcode/asn1/uper/ByteBitBuffer.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/uic/barcode/asn1/uper/ByteBitBuffer.java b/src/main/java/org/uic/barcode/asn1/uper/ByteBitBuffer.java
index e409005..ce5ca60 100644
--- a/src/main/java/org/uic/barcode/asn1/uper/ByteBitBuffer.java
+++ b/src/main/java/org/uic/barcode/asn1/uper/ByteBitBuffer.java
@@ -125,6 +125,7 @@ public class ByteBitBuffer implements BitBuffer {
public ByteBitBuffer(byte[] backingArray) {
this.bytes = backingArray;
this.isFinite = true;
+ this.limit = backingArray.length * 8;
}
private ByteBitBuffer(int initialCapacity) {