I have a string like \314\002\012\001
which I need to convert into a base64 encoded byte string.
Dismiss
Announcing Stack Overflow Documentation
We started with Q&A. Technical documentation is next, and we need your help.
Whether you're a beginner or an experienced developer, you can contribute.
|
||||
You should be able to use the built-in php function pg_unescape_bytea. There is an example on that page. |
|||
|
bytea
column. – Keyo May 27 '11 at 2:25