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