![]() |
CFStringInlineBuffer | Header: CFString.h |
Defines the buffer and related fields used for in-line buffer access of characters in CFString objects. Do not access the fields directly as they might change between releases.
struct CFStringInlineBuffer { UniChar buffer[64]; CFStringRef theString; const UniChar directBuffer; CFRange rangeToBuffer; CFIndex bufferedRangeStart; CFIndex bufferedRangeEnd; };
A fixed-size buffer of Unicode characters.
Takes a reference to the CFString object whose characters are to be accessed.
Takes a pointer to Unicode characters represented by the CFString object.
The range of characters in the CFString object to process in the in-line buffer.
An integer used to track the first of the characters being processed in the buffer.
An integer used to track the last of the characters being processed in the buffer.
This structure is used for in-line buffer access of characters contained by a CFString object. Use the CFStringInitInlineBuffer function for initializing the fields of this structure; do not do it manually. Once the buffer is initialized, use the CFStringGetCharacterFromInlineBuffer function to access characters from the buffer.
The only reason this structure is not opaque is to allow the in-line functions to access its fields.