Base64 sample code and documents

Hi Team , 

                Please provide some Base64 sample code or a manual that will assist us incorporate PID Date in our project.

I am using - Microcontroller : R7FS5D97C2A01CBG , SSP : 1.7.3