
![]() |
![]() |
|
Location:
WSPDecoder.h
Link against: inetprotutil.lib
class TWspHeaderSegmenter;
TWspHeaderSegmenter segments a WSP buffer into WSP header/value pairs. It detects boundaries between header/values based on the WAP-WSP spec.
To construct, buffer and string pool is passed in
Call to NextL()
to iterate through the buffer - this returns a TWspField
NextL()
returns KErrNotFound when done
Defined in TWspHeaderSegmenter
:
NextL()
, Offset()
, TWspHeaderSegmenter()
inline TWspHeaderSegmenter(RStringPool aPool, const TStringTable &aStringTable, TPtrC8 aBuffer);
The string table must be opened with the WSP Sting constants table
Constructor
|
IMPORT_C TInt NextL(TWspField &aWspHeader);
NextL iterates through the buffer. Each call returns a TWspField
in the paramater.
|
|
|
inline TInt Offset() const;
Offset returns the current offset into the buffer being parsed.
|