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