| Modifier and Type | Field and Description |
|---|---|
| protected final byte[] | |
| protected final byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the number of bytes produced.Implements org. |
| public int | Returns: the number of bytes produced.Implements org. |
| pack-priv byte[] | |
| public int | |
| public int | Returns: the number of bytes produced.Implements org. |
| public int | getEncodedLength(int
the input length of the data. inputLength)Implements org. |
| public int | getMaxDecodedLength(int
the input length of the encoded data. inputLength)Implements org. |
| private static boolean | |
| protected void |
| decodingTable | back to summary |
|---|---|
| protected final byte[] decodingTable | |
| encodingTable | back to summary |
|---|---|
| protected final byte[] encodingTable | |
| HexEncoder | back to summary |
|---|---|
| public HexEncoder() | |
| decode | back to summary |
|---|---|
| public int decode(byte[] data, int off, int length, OutputStream out) throws IOException Implements org. decode the Hex encoded byte data writing it to the given output stream, whitespace characters will be ignored.
| |
| decode | back to summary |
|---|---|
| public int decode(String data, OutputStream out) throws IOException Implements org. decode the Hex encoded String data writing it to the given output stream, whitespace characters will be ignored.
| |
| decodeStrict | back to summary |
|---|---|
| pack-priv byte[] decodeStrict(String str, int off, int len) throws IOException | |
| encode | back to summary |
|---|---|
| public int encode(byte[] inBuf, int inOff, int inLen, byte[] outBuf, int outOff) throws IOException | |
| encode | back to summary |
|---|---|
| public int encode(byte[] buf, int off, int len, OutputStream out) throws IOException Implements org. encode the input data producing a Hex output stream.
| |
| getEncodedLength | back to summary |
|---|---|
| public int getEncodedLength(int inputLength) Implements org. Doc from org. Return the expected output length of the encoding.
| |
| getMaxDecodedLength | back to summary |
|---|---|
| public int getMaxDecodedLength(int inputLength) Implements org. Doc from org. Return the maximum expected output length of a decoding. If padding is present the value returned will be greater than the decoded data length.
| |
| ignore | back to summary |
|---|---|
| private static boolean ignore(char c) | |
| initialiseDecodingTable | back to summary |
|---|---|
| protected void initialiseDecodingTable() | |