Hi,
I write little crypting software using Erel's crypto example. Application works good from IDE on desktop and on device too. Non-optimized compilation is without mistake too, but when I try optimized compiling, it ends with error CS1026 in this line: Do While(true)
Piece of example code:
Anybody knows, where is a problem?
I write little crypting software using Erel's crypto example. Application works good from IDE on desktop and on device too. Non-optimized compilation is without mistake too, but when I try optimized compiling, it ends with error CS1026 in this line: Do While(true)
Piece of example code:
B4X:
Do While(true)
data() = Crypto.Decrypt(PassPhrase,secret())
writer.WriteBytes(data())
If reader.Position = reader.Length Then Exit
c = reader.ReadInt32 'Read the next packet length.
If ArrayLen(secret()) <> c Then
Dim secret(c) As Byte
End If
reader.ReadBytes(secret(),c)
Loop
Anybody knows, where is a problem?