10.12.2012 Views

Oracle C++ Call Interface Programmer's Guide

Oracle C++ Call Interface Programmer's Guide

Oracle C++ Call Interface Programmer's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

writeLastBuffer()<br />

status()<br />

Parameters<br />

buffer<br />

Pointer to data buffer.<br />

size<br />

Number of char’s in the buffer.<br />

Stream Class<br />

This method writes the last data buffer to the stream. It can also be called to write<br />

the last chunk of data.<br />

The amount of data written is determined by size.<br />

Syntax<br />

void writeLastBuffer(char *buffer,<br />

unsigned int size);<br />

Parameters<br />

buffer<br />

Pointer to data buffer.<br />

size<br />

Specifies the number of bytes to be written.<br />

Returns the current status of the streams, which can be one of the following:<br />

■ READY_FOR_READ<br />

■ READY_FOR_WRITE<br />

■ INACTIVE<br />

Syntax<br />

Status status() const;<br />

OCCI Classes and Methods 8-213

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!