Class UnresolvedExtensionSelector

    • Constructor Detail

      • UnresolvedExtensionSelector

        public UnresolvedExtensionSelector​(byte[] arraybyte,
                                           ExtensionSelectorType type)
        Creates a new unresolved extension selector with given data in byte form.
        Parameters:
        arraybyte - byte data for the extension selector
        type - unresolved extension data type
    • Method Detail

      • serialize

        public byte[] serialize()
        Description copied from interface: Extension
        Serialize the extension to a byte array.
        Specified by:
        serialize in interface Extension
        Returns:
        byte array
      • deserialize

        public void deserialize​(byte[] data)
        Description copied from interface: Extension
        Deserialize the extension from a byte array. The properties of this object will be overwritten with the data in the byte array.
        Specified by:
        deserialize in interface Extension
        Parameters:
        data - input byte array
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object