Wintermute Engine > Not a bug
File.Length = 0 for binary files
(1/1)
Dionysius:
:'(
I need to get length of a binary file, but "Length" property returns 0.
I write data to this file by WriteInt() method. The real length is not 0.
metamorphium:
post your code here.
Dionysius:
I'm sorry :-[
The trouble was in
--- Code: ---test.Close();
Game.Msg(test.Length);
--- End code ---
But it should be
--- Code: ---Game.Msg(test.Length);
test.Close();
--- End code ---
Navigation
[0] Message Index
Go to full version