AbstractEncodingConverter
, Base64Converter
, HexConverter
public interface Converter
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.
|
byte[] |
toBytes(String input) |
Converts a formatted/encoded string to raw bytes.
|
String fromBytes(byte[] input)
input
- Input bytes.String fromBytes(byte[] input, int offset, int length)
input
- Input bytes.offset
- Offset into input bytes at which to begin processing.length
- Number of bytes of input data to process.byte[] toBytes(String input)
input
- Formatted/encoded input string.Copyright © 2021. All rights reserved.