The UUENCODE function encodes a RAW value in uuencode format and returns it as a RAW string.
Applicability
This content applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition does not support it.
Syntax
UTL_ENCODE.UUENCODE (
r IN RAW,
type IN PLS_INTEGER DEFAULT 1,
filename IN VARCHAR2 DEFAULT 'uuencode.txt',
permission IN VARCHAR2 DEFAULT '0')
RETURN RAW;
Parameters
Parameter |
Explanation |
|---|---|
| r | To encode theRAWValue. |
| type | Encoding format. Valid values:1to4Default value:1. The meanings of each value are as follows:
|
| filename | The name of the file written to the header. Default value:uuencode.txt. Only whentypeThe value is1or2(Header included) takes effect. |
| permission | Permission flag for writing the header. Default value:0. Only whentypeThe value is1or2(Header included) takes effect. |
Return value
Return Value |
Description |
|---|---|
| RAW | The encoded result in uuencode format. |