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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Blob Class<br />

close()<br />

closeStream()<br />

copy()<br />

Parameters<br />

srcBlob<br />

The BLOB to be appended to the current BLOB.<br />

This method closes a BLOB.<br />

Syntax<br />

void close();<br />

This method closes the Stream object obtained from the BLOB.<br />

Syntax<br />

void closeStream(Stream *stream);<br />

Parameters<br />

stream<br />

The Stream object to be closed.<br />

This method copies a part or all of the BFILE or BLOB into the current BLOB.<br />

Syntax<br />

There are variants of syntax:<br />

void copy(const Bfile &srcBfile,<br />

unsigned int numBytes,<br />

unsigned int dstOffset = 1,<br />

unsigned int srcOffset = 1);<br />

void copy(const Blob &srcBlob,<br />

unsigned int numBytes,<br />

unsigned int dstOffset = 1,<br />

unsigned int srcOffset = 1);<br />

8-14 <strong>Oracle</strong> <strong>C++</strong> <strong>Call</strong> <strong>Interface</strong> Programmer’s <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!