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