Hello,
I want to store unsigned char array which contains value from 0 to 255 Into a bytea column of psql table through Qt.I have converted unsigned char array into byte array. But I am facing problem in storing.
When I store data manually to the table using following query:
Insert into test values (decode ('137138','hex') ).
The value I want to store is 0x89 and 0x8A.
But when I retrive through Qt into byte array, each value is considered as single byte.
Kindly help for the same.
Bookmarks