Kactoos

kactoos-jvm / nnl.rocks.kactoos.io / UncheckedBytes

UncheckedBytes

class UncheckedBytes : Bytes

Bytes that doesn’t throw checked Exception.

There is no thread-safety guarantee.

Since 0.3

Constructors

Name Summary
<init> UncheckedBytes(bytes: Bytes)UncheckedBytes(bytes: Bytes, fallback: Func<IOException, ByteArray>)
Bytes that doesn’t throw checked Exception.

Functions

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