IntoZBytes

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)
}

Inheritors

Functions

Link copied to clipboard
abstract fun into(): ZBytes