Kactoos

kactoos-jvm / nnl.rocks.kactoos.bytes / BytesBase64

BytesBase64

class BytesBase64 : Bytes

Encodes all origin bytes using the Base64 encoding scheme.

Parameters

origin - Origin bytes.

encoder - Which Base64.Encoder to use

Since 0.3

Constructors

Name Summary
<init> BytesBase64(origin: Bytes)
Uses Base64.getEncoder as encoderBytesBase64(origin: Bytes, encoder: Encoder)
Encodes all origin bytes using the Base64 encoding scheme.

Functions

Name Summary
asBytes fun asBytes(): ByteArray
Convert it to the byte array.