scanHexInt64(_:)
Scans for a long long value from a hexadecimal representation, returning a found value by reference.
Declaration
func scanHexInt64(_ result: UnsafeMutablePointer<UInt64>?) -> BoolParameters
- result:
Upon return, contains the scanned value. Contains
HUGE_VALor–HUGE_VALon overflow.
Return Value
true if the receiver finds a valid hexadecimal long long representation, otherwise false. Overflow is considered a valid hexadecimal long long representation.
Discussion
The hexadecimal integer representation may optionally be preceded by 0x or 0X. Skips past excess digits in the case of overflow, so the receiver’s position is past the entire hexadecimal representation.
Invoke this method with NULL as result to simply scan past a hexadecimal long long representation.