Converter
Base64Converter
, HexConverter
public abstract class AbstractEncodingConverter extends Object implements Converter
Encoder
class.Constructor | Description |
---|---|
AbstractEncodingConverter() |
Modifier and Type | Method | Description |
---|---|---|
String |
fromBytes(byte[] input) |
Converts a byte array to a formatted/encoded string.
|
String |
fromBytes(byte[] input,
int offset,
int length) |
Converts a byte array to a formatted/encoded string.
|
protected abstract org.bouncycastle.util.encoders.Encoder |
getEncoder() |
Gets the encoder instance that does the work of byte-char/char-byte
encoding.
|
byte[] |
toBytes(String input) |
Converts a formatted/encoded string to raw bytes.
|
public String fromBytes(byte[] input)
public String fromBytes(byte[] input, int offset, int length)
public byte[] toBytes(String input)
protected abstract org.bouncycastle.util.encoders.Encoder getEncoder()
Copyright © 2021. All rights reserved.