Oracle9i Supplied PL/SQL Packages and Types Reference Release 2 (9.2) Part Number A96612-01 |
|
UTL_ENCODE , 2 of 2
This function encodes the binary representation of the RAW
value into base 64 elements and returns it in the form of a RAW
string.
UTL_ENCODE.BASE64_ENCODE ( r IN RAW) RETURN RAW;
pragma RESTRICT_REFERENCES(base64_encode, WNDS, RNDS, WNPS, RNPS);
Parameter | Description |
---|---|
|
The RAW value to be encoded. There are no defaults or optional parameters. |
Return | Description |
---|---|
RAW |
Contains the encoded base 64 elements |
This function reads the base 64-encoded RAW
input string and decodes it to its original RAW
value.
UTL_ENCODE.BASE64_DECODE ( r IN RAW) RETURN RAW;
pragma RESTRICT_REFERENCES(base64_decode, WNDS, RNDS, WNPS, RNPS);
Parameter | Description |
---|---|
|
The RAW string containing base 64-encoded data. There are no defaults or optional parameters. |
Return | Description |
---|---|
RAW |
Contains the decoded string |
This function reads the RAW
input string and encodes it to the corresponding uuencode format string. The output of this function is cumulative, in that it can be used to encode large data streams, by splitting the data stream into acceptably sized RAW
values, encoded, and concatenated into a single encoded string. Also see "UUDECODE Function".
UTL_ENCODE.UUENCODE ( r IN RAW, type IN PLS_INTEGER DEFAULT 1, filename IN VARCHAR2 DEFAULT NULL, permission IN VARCHAR2 DEFAULT NULL) RETURN RAW;
pragma RESTRICT_REFERENCES(uuencode, WNDS, RNDS, WNPS, RNPS);
Return | Description |
---|---|
RAW |
Contains the uuencode format string |
This function reads the RAW
uuencode format input string and decodes it to the corresponding RAW
string. See "UUENCODE Function" for discussion of the cumulative nature of UUENCODE
and UUDECODE
for data streams.
UTL_ENCODE.UUDECODE ( r IN RAW) RETURN RAW;
pragma RESTRICT_REFERENCES(uudecode, WNDS, RNDS, WNPS, RNPS);
Parameter | Description |
---|---|
|
The RAW string containing the uuencoded data string. There are no defaults or optional parameters. |
Return | Description |
---|---|
RAW |
The decoded |
This function reads the RAW
input string and encodes it to the corresponding quoted printable format string.
UTL_ENCODE.QUOTED_PRINTABLE_ENCODE ( r IN RAW RETURN RAW;
pragma RESTRICT_REFERENCES(quoted_printable_encode, WNDS, RNDS,WNPS, RNPS);
Parameter | Description |
---|---|
|
The RAW string. There are no defaults or optional parameters. |
Return | Description |
---|---|
RAW |
Contains the quoted printable string |
This function reads the varchar2
quoted printable format input string and decodes it to the corresponding RAW
string.
UTL_ENCODE.QUOTED_PRINTABLE_DECODE ( r IN RAW RETURN RAW;
pragma RESTRICT_REFERENCES(quoted_printable_decode, WNDS, RNDS, WNPS, RNPS);
Parameters | Description |
---|---|
|
The RAW string containing a quoted printable data string. There are no defaults or optional parameters. |
Return | Description |
---|---|
RAW |
The decoded string |
|
Copyright © 2000, 2002 Oracle Corporation. All Rights Reserved. |
|