vendredi 26 août 2016

RDC and DecodeBase64

Hi
I am using this code in B4J but in B4A it does not work when using RDC
it comes up with : java.io.IOException: Bad Base64 input character decimal 91 in array position 0" error

Code:
  Dim su As StringUtils
Dim b() As Byte = su.DecodeBase64(records(6))
Dim in As InputStream
in.InitializeFromBytesArray(b, 0, b.Length)
Dim out As OutputStream
out=
File.OpenOutput(File.DirDefaultExternal, records(5) & ".db",False)
out.WriteBytes(b,
0, b.Length)...
RDC and DecodeBase64

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2bH6u5V
via IFTTT

Aucun commentaire:

Enregistrer un commentaire