Package io.zenoh.bytes
Interface IntoZBytes
-
- All Implemented Interfaces:
public interface IntoZBytes
IntoZBytes interface.
Classes implementing this interface can be serialized into a ZBytes object.
Example:
class Foo implements IntoZBytes { private final String content; Foo(String content) { this.content = content; } @NotNull @Override public ZBytes into() { return ZBytes.from(content); } }