Class UnresolvedMosaicIdDto

  • All Implemented Interfaces:
    Serializer

    public final class UnresolvedMosaicIdDto
    extends java.lang.Object
    implements Serializer
    Unresolved mosaic id.
    • Constructor Detail

      • UnresolvedMosaicIdDto

        public UnresolvedMosaicIdDto​(long unresolvedMosaicId)
        Constructor.
        Parameters:
        unresolvedMosaicId - Unresolved mosaic id.
      • UnresolvedMosaicIdDto

        public UnresolvedMosaicIdDto​(java.io.DataInputStream stream)
        Constructor - Creates an object from stream.
        Parameters:
        stream - Byte stream to use to serialize.
    • Method Detail

      • getUnresolvedMosaicId

        public long getUnresolvedMosaicId()
        Gets Unresolved mosaic id.
        Returns:
        Unresolved mosaic id.
      • getSize

        public int getSize()
        Gets the size of the object.
        Specified by:
        getSize in interface Serializer
        Returns:
        Size in bytes.
      • loadFromBinary

        public static UnresolvedMosaicIdDto loadFromBinary​(java.io.DataInputStream stream)
        Creates an instance of UnresolvedMosaicIdDto from a stream.
        Parameters:
        stream - Byte stream to use to serialize the object.
        Returns:
        Instance of UnresolvedMosaicIdDto.
      • serialize

        public byte[] serialize()
        Serializes an object to bytes.
        Specified by:
        serialize in interface Serializer
        Returns:
        Serialized bytes.