Re: How do I truncate a file, delete bytes, or set the end of file from a stream?

2011-06-15 Thread Steven Schveighoffer
On Wed, 15 Jun 2011 13:30:25 -0400, XP1 wrote: On Sun, 12 Jun 2011 02:47:01 -0400, XP1 wrote: How do I truncate a file, delete bytes, or set the end of file from a stream? For example, what would be the easiest way to delete the last 4 bytes from a file? Anyone? If you are on

Re: How do I truncate a file, delete bytes, or set the end of file from a stream?

2011-06-15 Thread XP1
On Sun, 12 Jun 2011 02:47:01 -0400, XP1 wrote: How do I truncate a file, delete bytes, or set the end of file from a stream? For example, what would be the easiest way to delete the last 4 bytes from a file? Anyone?

How do I truncate a file, delete bytes, or set the end of file from a stream?

2011-06-11 Thread XP1
How do I truncate a file, delete bytes, or set the end of file from a stream? For example, what would be the easiest way to delete the last 4 bytes from a file?