I've got byte[] lol = bunch of stuff
Length: {byte[64]}
saving it to conf.conf using:
Then I load it in using:
And then the Length is {byte[108]}
wtF? Is that because the filename is also in there? How i retreive the stuff i just saved ? !
Length: {byte[64]}
saving it to conf.conf using:
Code
public static void writebytes(byte[] bytes, string path)
{
using (BinaryWriter binWriter =
new BinaryWriter(File.Open(path, FileMode.Create)))
{
binWriter.Write(bytes);
}
}Then I load it in using:
Code
public static byte[] Read(string path)
{
try { return File.ReadAllBytes(path); }
catch { return null; }
}And then the Length is {byte[108]}
wtF? Is that because the filename is also in there? How i retreive the stuff i just saved ? !

