CompactTypeCurvePoint
@midnight-ntwrk/compact-runtime v0.9.0
@midnight-ntwrk/compact-runtime / CompactTypeCurvePoint
Class: CompactTypeCurvePoint
Runtime type of CurvePoint
Implementsβ
Constructorsβ
Constructorβ
new CompactTypeCurvePoint(): CompactTypeCurvePoint;
Returnsβ
CompactTypeCurvePoint
Methodsβ
alignment()β
alignment(): Alignment;
The field-aligned binary alignment of this type.
Returnsβ
Implementation ofβ
fromValue()β
fromValue(value): CurvePoint;
Converts this type's field-aligned binary representation to its TypeScript representation destructively; (partially) consuming the input, and ignoring superflous data for chaining.
Parametersβ
valueβ
Returnsβ
Implementation ofβ
toValue()β
toValue(value): Value;
Converts this type's TypeScript representation to its field-aligned binary representation