Instance Property
rawValue
The secp256k1_ec_pubkey_serialize format flag: SECP256K1_EC_COMPRESSED for P256K.Format.compressed, SECP256K1_EC_UNCOMPRESSED for P256K.Format.uncompressed.
- iOS 13.0+
- macCatalyst 13.0+
- macOS 10.15+
- tvOS 13.0+
- visionOS 1.0+
- watchOS 6.0+
var rawValue: UInt32 { get }
Return Value
The UInt32 flag the upstream C serialization helpers expect.
Discussion
Exposed as the RawValue of the enum so the flag can be passed directly into the upstream C API without additional translation. The numeric values match the upstream #define pattern exactly.