| 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 | Returns: the number of bytes produced.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[] data, int off, int length, OutputStream out) throws IOException Implements org. encode the input data producing a Hex output stream.
| |
| ignore | back to summary |
|---|---|
| private static boolean ignore(char c) | |
| initialiseDecodingTable | back to summary |
|---|---|
| protected void initialiseDecodingTable() | |