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);
        }
    }
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract ZBytes into()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait