ru.astrainteractive.astralibs.encoding.model.EncodedObject.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Core utilities for spigot development
package ru.astrainteractive.astralibs.encoding.model
/**
* Wrapper for IO classes to handle [Encoder] more safely
*/
sealed interface EncodedObject {
@JvmInline
value class Base64(val value: String) : EncodedObject
@JvmInline
value class ByteArray(val value: kotlin.ByteArray) : EncodedObject
}