Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
OCI Datatype Mapping and Manipulation Functions, 121 of 134
Converts a REF
to a hexadecimal string.
sword OCIRefToHex ( OCIEnv *env, OCIError *err, CONST OCIRef *ref, OraText *hex, ub4 *hex_length );
The OCI environment handle initialized in object mode.
The OCI error handle. If there is an error, it is recorded in err
and this function returns OCI_ERROR. Obtain diagnostic information by calling OCIErrorGet()
.
REF
to be converted into a hexadecimal string; if ref
is a null REF
(that is, OCIRefIsNull
(ref
) == TRUE
) then zero hex_length
value is returned.
Buffer that is large enough to contain the resulting hexadecimal string; the contents of the string is opaque to the caller.
On input specifies the size of the hex
buffer on output specifies the actual size of the hexadecimal string being returned in hex
.
Converts the given REF
into a hexadecimal string, and returns the length of the string. The resulting string is opaque to the caller.
This function returns an error if the given buffer is not big enough to hold the resulting string.
OCIErrorGet()
, OCIRefFromHex()
, OCIRefHexSize()
, OCIRefIsNull()
This section describes the OCI string functions.
Function/Page | Purpose |
---|---|
Get allocated size of string memory in bytes |
|
Assign string to string |
|
Assign text string to string |
|
Get string pointer |
|
Resize string memory |
|
Get string size |
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|