P6R::P6SAX2STRING Struct Reference

To avoid having to copy strings or creating new strings we simply point into a set of buffers the start of a string and its length. More...

#include <p6sax2types.h>

List of all members.

Public Attributes

P6UINT32 length
const P6CHAR * pStart

Detailed Description

To avoid having to copy strings or creating new strings we simply point into a set of buffers the start of a string and its length.

These strings are not necessarily NULL terminated.

The standard Java SAX2 interface creates a string object for to return each element and attribute. Thus the Java interface requires an object creation and a string copy per item. Our component instead returns this SAX2 string to improve performance.

Definition at line 34 of file p6sax2types.h.


The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.