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

XP1 nospam at nospam.com
Wed Jun 15 10:30:25 PDT 2011


On Sun, 12 Jun 2011 02:47:01 -0400, XP1 <nospam at nospam.com> 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?


More information about the Digitalmars-d-learn mailing list