problem regarding xstring
I am uploading image and its uploaded successfully and image displaying image in page.
here i am converting XSTRING to BINARY from to store in databse using this meathod
CALL METHOD cl_abap_gzip=>compress_binary EXPORTING raw_in = lv_file_content IMPORTING gzip_out = lv_xstring gzip_out_len = lv_len.
now i want to display image in another page , now i am taking that BINARY content and converting into
XSTRING using this meathod
t_visitor-IMGCONTENT = lv_xstring . CALL METHOD cl_abap_gzip=>decompress_binary EXPORTING gzip_in = t_visitor-IMGCONTENT IMPORTING raw_out = lv_file_content.
but in lv_file_content i am not getting XSTRING
i think thats why image is not desplaying
so plz tel me how to store XTRING or any other solution