[pure virtual]
truncates the stream to the indicated length.
Implemented in FdoIoFileStream, and FdoIoMemoryStream.