PL/SQL (MOSC)

MOSC Banner

UTL_ENCODE function request

in PL/SQL (MOSC) 1 commentAnswered ✓

How does one go about requesting functions be added to an Oracle Database Standard PL/SQL package?

I would like for these 2 functions to be added to the UTL_ENCODE package

FUNCTION BASE64URL_DECODE(

r IN RAW

)

RETURN RAW;


FUNCTION BASE64URL_ENCODE(

r IN RAW

)

RETURN RAW;

These would like UTL_ENCODE.BASE64_ENCODE/BASE64_DECODE but take the base64URL character set.

This is very helpful when dealing with HTTP related development.



FUNCTION encode_to_base64url_str

 (

  in_raw             IN      raw

 )

 RETURN                     varchar2

 AS

  v_rv                     varchar2(32767);

  v_base64_binary                raw(2000); -- 2000 bytes

  v_base64_str                 varchar2(32767);

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center