PFlores81 Active Member Licensed User Longtime User Jul 19, 2012 #1 Using Erels code found here I am able to write a file to the byte array.. however. since it is not an image file nor is it a text file.. how would i pull said file from the byte array and copy it back to its original location?
Using Erels code found here I am able to write a file to the byte array.. however. since it is not an image file nor is it a text file.. how would i pull said file from the byte array and copy it back to its original location?
Erel B4X founder Staff member Licensed User Longtime User Jul 19, 2012 #2 B4X: Dim out As OutputStream out = File.OpenOutput(...) out.WriteBytes(data, 0, data.length) out.Close Upvote 0
B4X: Dim out As OutputStream out = File.OpenOutput(...) out.WriteBytes(data, 0, data.length) out.Close
PFlores81 Active Member Licensed User Longtime User Jul 19, 2012 #3 Erel said: B4X: Dim out As OutputStream out = File.OpenOutput(...) out.WriteBytes(data, 0, data.length) out.Close Click to expand... Well, that works. thanks Erel Upvote 0
Erel said: B4X: Dim out As OutputStream out = File.OpenOutput(...) out.WriteBytes(data, 0, data.length) out.Close Click to expand... Well, that works. thanks Erel