Oracle Solution for Error ora-08440

Solution for Oracle Error ORA-08440

ORA-08440: raw buffer is too short to hold converted data

What triggered the Error:

The output raw buffer passed to a UTL_PG NUMBER_TO_RAW conversion routine was not large enough to contain the results of the conversion based on the picture mask.

What should we do to fix it:

Increase the raw buffer size to the size necessary to hold the entire result of the conversion.