| Modifier and Type | Field and Description |
|---|---|
| private static final int[] | BIT_TABLE
Table for setting a particular bit of a byte |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final Object | convertFromCharacters(char[] ch, int start, int length)
Implements org.
|
| public final void | |
| public final Object | decodeFromBytes(byte[] b, int start, int length)
Implements org.
|
| public final void | decodeFromBytesToBooleanArray(boolean[] bdata, int bstart, int blength, byte[] b, int start, int length)
|
| public final Object | |
| public void | encodeToBytes(Object array, int astart, int alength, byte[] b, int start)
Implements abstract com.
|
| public void | |
| public void | |
| private boolean[] | generateArrayFromList(List<Boolean>
The array array)Generate a boolean array from a list of Booleans. |
| public int | getOctetLengthFromPrimitiveLength(int primitiveLength)
Implements abstract com.
|
| public int | getPrimtiveLengthFromOctetLength(int octetLength)
Implements abstract com.
|
| public int |
| BIT_TABLE | back to summary |
|---|---|
| private static final int[] BIT_TABLE Table for setting a particular bit of a byte | |
| BooleanEncodingAlgorithm | back to summary |
|---|---|
| public BooleanEncodingAlgorithm() | |
| convertFromCharacters | back to summary |
|---|---|
| public final Object convertFromCharacters(char[] ch, int start, int length) Implements org.
| |
| convertToCharacters | back to summary |
|---|---|
| public final void convertToCharacters(Object data, StringBuilder s) Implements org.
| |
| decodeFromBytes | back to summary |
|---|---|
| public final Object decodeFromBytes(byte[] b, int start, int length) throws EncodingAlgorithmException Implements org.
| |
| decodeFromBytesToBooleanArray | back to summary |
|---|---|
| public final void decodeFromBytesToBooleanArray(boolean[] bdata, int bstart, int blength, byte[] b, int start, int length) | |
| decodeFromInputStream | back to summary |
|---|---|
| public final Object decodeFromInputStream(InputStream s) throws IOException Implements org.
| |
| encodeToBytes | back to summary |
|---|---|
| public void encodeToBytes(Object array, int astart, int alength, byte[] b, int start) Implements abstract com.
| |
| encodeToBytesFromBooleanArray | back to summary |
|---|---|
| public void encodeToBytesFromBooleanArray(boolean[] array, int astart, int alength, byte[] b, int start) | |
| encodeToOutputStream | back to summary |
|---|---|
| public void encodeToOutputStream(Object data, OutputStream s) throws IOException Implements org.
| |
| generateArrayFromList | back to summary |
|---|---|
| private boolean[] generateArrayFromList(List<Boolean> array) Generate a boolean array from a list of Booleans. | |
| getOctetLengthFromPrimitiveLength | back to summary |
|---|---|
| public int getOctetLengthFromPrimitiveLength(int primitiveLength) Implements abstract com.
| |
| getPrimtiveLengthFromOctetLength | back to summary |
|---|---|
| public int getPrimtiveLengthFromOctetLength(int octetLength) throws EncodingAlgorithmException Implements abstract com.
| |
| getPrimtiveLengthFromOctetLength | back to summary |
|---|---|
| public int getPrimtiveLengthFromOctetLength(int octetLength, int firstOctet) throws EncodingAlgorithmException | |