Convert BLOB data type(PDF content in database table) to text

Hi,
I am trying to read PDF content that is stored in SQL database table as BLOB datatype.
I created a process in UiPath studio to connect to the database and tried to read the content of the PDF.
But it gives the content column (blob data type) as System.Byte.
How do I convert blob data type to text in UiPath?
I tried using invoke code activity as mentioned in the following link but it is showing error.

Can anyone help me with this.

Thank you