TXTRecordGetCount(_:_:)
Returns the number of keys stored in the TXT Record.
Declaration
func TXTRecordGetCount(_ txtLen: UInt16, _ txtRecord: UnsafeRawPointer!) -> UInt16Parameters
- txtLen:
The size of the received TXT Record.
- txtRecord:
Pointer to the received TXT Record bytes.
Return Value
Returns the total number of keys in the TXT Record.
Discussion
The count can be used with TXTRecordGetItemAtIndex() to iterate through the keys.