diff options
author | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2021-02-25 11:02:26 +0100 |
---|---|---|
committer | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2021-02-25 11:02:26 +0100 |
commit | 425bd35c736b7e1c0dbe5b3f9162e195b3be6018 (patch) | |
tree | bc4668aa125fb0a15518d464a1738c6b05e56d07 /src/net/gcdc/asn1/uper/BitBuffer.java | |
parent | issuerOnLine changed from int to Integer as it is optional (diff) | |
download | UIC-barcode-1.2.tar UIC-barcode-1.2.tar.gz UIC-barcode-1.2.tar.bz2 UIC-barcode-1.2.tar.lz UIC-barcode-1.2.tar.xz UIC-barcode-1.2.tar.zst UIC-barcode-1.2.zip |
Diffstat (limited to 'src/net/gcdc/asn1/uper/BitBuffer.java')
-rw-r--r-- | src/net/gcdc/asn1/uper/BitBuffer.java | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/net/gcdc/asn1/uper/BitBuffer.java b/src/net/gcdc/asn1/uper/BitBuffer.java deleted file mode 100644 index 948dda5..0000000 --- a/src/net/gcdc/asn1/uper/BitBuffer.java +++ /dev/null @@ -1,32 +0,0 @@ -package net.gcdc.asn1.uper; - -/** - * An interface for convenient storage of bits, similar to Java's ByteBuffer. - * - * This interface and its implementation are very useful for UPER, since UPER operates on bits - * regardless of byte boundaries. - * - */ -public interface BitBuffer { - boolean get(); - boolean get(int index); - BitBuffer put(boolean element); - BitBuffer put(int index, boolean element); - int limit(); - int capacity(); - int position(); - int remaining(); - BitBuffer flip(); - String toBooleanString(int startIndex, int length); - String toBooleanStringFromPosition(int startIndex); - byte[] array(); - BitBuffer putByte(byte element); - byte getByte(); - void putInteger(int index, int length,int number); - void putChar6String(int index, int length, String s); - int getInteger(int index, int length); - String getChar6String(int position, int length); - void putChar5String(int index, int length, String s); - String getChar5String(int inxed, int length); - BitBuffer putByteArray(int index, byte[] data); -} |