On 4/21/07, Norman Palardy <[EMAIL PROTECTED]> wrote:
> To move "back to the beginning of the file you set the position to 0.
> Setting the position to a value moves where you are going to write to
> that position in the file

You may also want to set the BinaryStream's length to 0, otherwise you
can end up with data at the end of the file that you didn't intend on
being there. This can occur when the new data you are writing to the
file is shorter than the existing file data.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to