Into ZBytes
interface IntoZBytes
IntoZBytes interface.
Classes implementing this interface can be serialized into a ZBytes object.
Example:
class Foo(val content: String) : IntoZBytes {
override fun into(): ZBytes = ZBytes.from(content)
}
Content copied to clipboard