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