Package org.symbol.sdk.symbol.models
Class UnresolvedMosaicId
- All Implemented Interfaces:
Comparable<UnresolvedMosaicId>,Serializer
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new UnresolvedMosaicId.UnresolvedMosaicId(long value) Creates a new UnresolvedMosaicId. -
Method Summary
Modifier and TypeMethodDescriptionstatic UnresolvedMosaicIddeserialize(ByteBuffer buffer) Deserializes an instance of this object from a byte payload.static UnresolvedMosaicIdParses a raw value (UnresolvedMosaicId, number, or decimal/0x-hex string) into a UnresolvedMosaicId.
-
Field Details
-
SIZE
public static final int SIZE- See Also:
-
IS_SIGNED
public static final boolean IS_SIGNED- See Also:
-
-
Constructor Details
-
UnresolvedMosaicId
public UnresolvedMosaicId(long value) Creates a new UnresolvedMosaicId.- Parameters:
value- Value.
-
UnresolvedMosaicId
public UnresolvedMosaicId()Creates a new UnresolvedMosaicId.
-
-
Method Details
-
parse
- UnresolvedMosaicId.parse
- Parses a raw value (UnresolvedMosaicId, number, or decimal/0x-hex string) into a UnresolvedMosaicId.
- Parameters:
rawValue- Raw value.- Returns:
- Parsed value.
-
deserialize
- UnresolvedMosaicId.deserialize
- Deserializes an instance of this object from a byte payload.
- Parameters:
buffer- Output writer.- Returns:
- Deserialized object.
- Throws:
IndexOutOfBoundsException- if the buffer is truncated or a declared length overruns itIllegalArgumentException- if a field carries an invalid value (e.g. a reserved field or unknown discriminator)
-