Instance Property
format
The serialization format of this public key: .compressed (33 bytes) or .uncompressed (65 bytes).
- iOS 13.0+
- macCatalyst 13.0+
- macOS 10.15+
- tvOS 13.0+
- visionOS 1.0+
- watchOS 6.0+
var format: P256K.Format { get }
Discussion
Inherited from the format: argument at construction time. Both forms contain the same underlying (x, y) point; pick whichever the downstream wire format expects.