FileStream: SetLength |
Sets the length of the stream to the specified length.
Public Sub SetLength( ByVal Value As Currency )
If the new value is less than the origin file, then the file will be truncated. If the new value is larger than the original, then the newly exposed bytes are of undefined value.
The stream must have Seek and Write support