Sets the length of the buffer to the specified value.
If the new length is smaller than the current length, the stream is effectivly truncated.
If the new length exceeds the capacity of the stream, it will be adjusted to accomodate for the new length.
SmartMemoryStream Class | InfiniTec.SystemUtilities Namespace