@Uint32 decorator is syntactic sugar for @Relation(PrimitiveSymbol.u32).
@Uint32
@Relation(PrimitiveSymbol.u32)
Using this decorator specifies that the decorated property should be interpreted as an unsigned 32 bits integer.
The type of the class the decorator is applied to.
The type of the decorated property.
class Protocol { @Uint32 data: number} Copy
class Protocol { @Uint32 data: number}
Relation
@Uint32
decorator is syntactic sugar for@Relation(PrimitiveSymbol.u32)
.Using this decorator specifies that the decorated property should be interpreted as an unsigned 32 bits integer.