Search:

Type: Posts; User: Freaky Chris

Search: Search took 0.11 seconds.

  1. Re: A problem with overwriting a file, please help.

    The reason for creating a second buffered reader is the same as opening and reclosing, here's a small example.

    Writer || Position in file
    BFW1 || 0
    BFW2 ...
  2. Re: A problem with overwriting a file, please help.

    Quick Solution, close and reopen in truncate mode.

    Or you could try using the reset method on your stream.

    Chris
Results 1 to 2 of 2