If the specified value is larger than the current length of the stream, the stream is expanded.
如果指定值大于当前流的长度,则流被扩展。
Numeric expressions may cause overflows if the value is larger than the maximum value of the value's type.
如果值大于值类型的最大值,数值表达式可能导致溢出。
If the specified value is larger than the current capacity and the stream is resizable, the capacity is increased, and the current position within the stream is unchanged.
如果指定值大于当前容量并且流可调整大小,则容量将增加,而流内的当前位置将保持不变。
应用推荐