Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IIoBuffer::appendStr ( const P6CHAR pszString,
const P6UINT32  nOffset,
P6UINT32 pUsed 
)
pure virtual

Appends the specified NULL terminated narrow ascii string to the the I/O buffer, begining at the current packet offset and increments the current offset by the number of bytes that were appended.

Parameters
pszString[ in ] A pointer to a P6CHAR* containing the NULL terminated string to append to the buffer.
nOffset[ in ] The offset at which to write the value. P6PKTCUROFFSET can be specified to append this value at the current offset (the end). The current offset will be automatically incremented past the data which was just appended.
pUsed[ out ] The address of an P6UINT32 in which to place the number of bytes used in the packet after the operation completes. This may be set to NULL if the information is not needed.
Returns
SuccessP6R::eOkThe data was appended successfully.
FailureP6R::eNotInitialized/td>The I/O buffer has not been succesfully initalized.
P6R::eTooBigAppending the specified data at the specified offset would result in writing past the end of the buffer.
P6R::eInvalidArgpszString was NULL.
P6R::eSeekThe offset specified in nOffset is past the end of the buffer.