Salve a tutti,
ho il problema di leggere un campo BLOB creato da VB.net su database MySql ( campo FOTO) e poi
visualizzare in una Imageview.
Il codice che ho provato ad usare è il seguente:
   
     Dim buffer() As Byte
        Dim bt As Bitmap
        Dim s_tru As StringUtils
        buffer = s_tru.DecodeBase64(CNT.rs1.GetString2("Foto"))
        Dim In As InputStream
        In.InitializeFromBytesArray(buffer, 0, buffer.Length)
        bt.Initialize2(In)
        ImageView1.Bitmap = bt
ma ho nel LOG l'errore sotto:
java.io.IOException: Bad Base64 input character decimal 63 in array position 0 ...
In VB.net memorizzo il campo come sotto.
Non riuscendo a risolvere chiedo aiuto.
Mille grazie a tutti per quanto potrete dirmi
Massimiliano