@Float32 decorator is syntactic sugar for @Relation(PrimitiveSymbol.float32).
@Float32
@Relation(PrimitiveSymbol.float32)
Using this decorator specifies that the decorated should be interpreted as a 32 floating point number.
The type of the class the decorator is applied to.
The type of the decorated property.
class Protocol { @Float32 data: number} Copy
class Protocol { @Float32 data: number}
Relation
@Float32
decorator is syntactic sugar for@Relation(PrimitiveSymbol.float32)
.Using this decorator specifies that the decorated should be interpreted as a 32 floating point number.