Kactoos

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

Base64Bytes

class Base64Bytes : Bytes

Decodes all origin bytes using the Base64 encoding scheme.

Parameters

origin - Origin bytes.

decoder - Which Base64.Decoder to use.

Since 0.3

Constructors

Name Summary
<init> Base64Bytes(origin: Bytes)
Uses Base64.getDecoder as decoderBase64Bytes(origin: Bytes, decoder: Decoder)
Decodes all origin bytes using the Base64 encoding scheme.

Functions

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