public final class Base64Utils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
encodeToString(byte[] bytes)
Encode the byte array to a base64 string.
|
public static String encodeToString(byte[] bytes)
Base64.getEncoder()
is used.
bytes
- the bytes to encodeCopyright © 2021. All rights reserved.