IPB_Session interface:
GetBlobLength method
Description
Returns the length in bytes of blob data in a buffer.
Syntax
1 |
GetBlobLength (pbblob <span>bin</span>) |
Argument |
Description |
---|---|
bin |
A pointer to the source buffer |
Return Values
pblong.
Examples
In this example, the IPB_Value GetBlob function
is used to get a blob value from the PBCallInfo structure. The length
of the blob is used as an argument to the NewBlob function:
1 |
PBCallInfo* ci = new PBCallInfo;<br>pbblob ret_val;<br>pblong bloblen;<br> <br>ret_val = ci.returnValue-> GetBlob();<br>bloblen = Session-><span> GetBlobLength</span>(ret_val);<br>ret_val = Session-> NewBlob<br>   (Session->GetBlob(ret_val), bloblen); |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest