TagList.peekStringIndex

bool peekStringIndex(string tag, uint index, out string value)

Peeks at the value that is at the given index for the given tag in the given list.

The resulting string in value will be in UTF-8 encoding and doesn't need to be freed by the caller. The returned string is also guaranteed to be non-null and non-empty.

Parameters

tagtag to read out
indexnumber of entry to read out
valuelocation for the result

Returns

true, if a value was set, false if the tag didn't exist in the

given list.