|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectnu.studer.gradle.util.Base64
public final class Base64
Utilities related to Base64 encoding.
| Method Summary | |
|---|---|
static byte[]
|
decodeBase64(java.lang.String string)
Decodes the given Base64 string to bytes. |
static java.lang.String
|
encodeBase64(byte[] bytes)
Encodes the given bytes to a Base64 string. |
| Methods inherited from class java.lang.Object | |
|---|---|
| java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
| Method Detail |
|---|
public static byte[] decodeBase64(java.lang.String string)
string - the Base64 string to decode
public static java.lang.String encodeBase64(byte[] bytes)
bytes - the bytes to encode
Groovy Documentation