Hello ?
I have a simple photo file
I want to replace the first 5 bytes with the last 5 bytes
I need your guidance to write a sub?
I have progressed to this point
I have a simple photo file
I want to replace the first 5 bytes with the last 5 bytes
I need your guidance to write a sub?
I have progressed to this point
B4X:
Sub Bcoder(fPath As String,fName As String)
If File.Exists(fPath,fName) Then
Dim InputStream2 As InputStream
InputStream2 = File.OpenInput(fPath,fName) ' "File.DirInternal" name_file
Dim buffer(5) As Byte
InputStream2.ReadBytes(buffer,0,buffer.Length)
InputStream2.Close
..
...
....
.....
End Sub