kactoos-jvm / nnl.rocks.kactoos.bytes / BytesBase64
class BytesBase64 :
Bytes
Encodes all origin bytes using the Base64 encoding scheme.
origin
- Origin bytes.
encoder
- Which Base64.Encoder to use
Since 0.3
Name | Summary |
---|---|
<init> | BytesBase64(origin: Bytes ) Uses Base64.getEncoder as encoder BytesBase64(origin: Bytes , encoder: Encoder ) Encodes all origin bytes using the Base64 encoding scheme. |
Name | Summary |
---|---|
asBytes | fun asBytes(): ByteArray Convert it to the byte array. |