From that point everything is similar except you will need to flush the output stream or it is possible that the last bit of the stream buffer will not be sent.
从这一点来说,除了您将需要清空输出流(否则流缓冲区的最后一位可能会未被发送)之外,一切都很相似。
Users can stream the output data into a string, an internal buffer, the standard output, or a file.
用户可以使这些输出数据流入字符串、内部缓冲区、标准输出或文件。
Table 4 contains the benchmark results of writing a rope with length 10,690,488 and depth 65 to a stream backed by an in-memory buffer.
表4包含的测评结果是将一个长度为10,690,488、深度为65的rope写入一个由内存缓冲区支持的流的结果。
The buffer size of the response is also set, and the output stream is retrieved from the response in the out variable.
响应的缓冲区尺寸也进行了设置,输出流也从out变量的响应中得到。
Specifying stdout or stdin allows ontape to use pipes (an OS provided buffer mechanism to connect separate programs to a data stream) for archives and restores.
可以指定stdout或stdin,允许ontape在存档和恢复的过程中使用管道(OS提供的一种缓冲机制,将不同的程序连接起来传递数据)。
Make sure you flush the data after you're done writing an iteration; otherwise, it may be stuck in a buffer until the next iteration is written to the stream.
确保在执行写迭代后刷新数据;否则,它将滞留在缓冲区中,直到向流写入下一次迭代。
You don't really need a command module for this, but the memory is very limited. There is a small 100-byte buffer that holds the bytecode instruction stream.
在这种情况下,您并不需要一个命令模块,但是内存容量十分有限,其大小只有100个字节。
The index of the next character to read from the input stream buffer.
要从输入流缓冲读取的下一个字符的下标。
Through detailed mathematic analysis and induction, a discrete time model of bandwidth and buffer limited stream media system is built.
论文通过详尽的数学分析和数学归纳,建立了带宽和缓存均有限的流媒体系统的离散时间模型。
Creates a new output stream with the specified compressor and buffer size.
用指定的压缩器和缓冲区大小创建一个新的输出流。
Creates a new output stream with the specified buffer size.
使用指定缓冲大小创建输出流。
This paper proposes a novel algorithm called Partition Stream Tapping Based on Client Buffer Size.
该文提出了一种基于客户端缓存容量的分区流切入算法。
Creates or opens a file, file stream, directory, physical disk, volume, console buffer, tape drive, communications resource, mailslot, or named pipe.
创建或者打开一个文件,文件流,目录,物理磁盘,卷,控制台缓冲,磁盘驱动器,通讯资源,邮槽,或命名管道。
Creates a new input stream with the specified decompressor and a default buffer size.
用指定的解压器和默认缓冲区大小创建一个新的输入流。
Creates a new input stream with a default decompressor and buffer size.
用默认的解压器和缓冲区大小创建一个新的输入流。
Creates a new input stream with the specified decompressor and buffer size.
用指定的解压器和缓冲区大小创建一个新的输入流。
The result of experiment shows that the transport control scheme is effective for VBR and CBR stream to control amount of data in client buffer and decrease lost rate of data.
实验表明,该传输控制方法对VBR和CBR节目流都是有效的,能够较好地控制客户端数据量和降低数据丢失率。
Gets a value indicating whether the final buffer block has been written to the underlying stream.
获取一个值,该值指示最终缓冲区块是否已写入基础流。
Low-level input and output calls do directli function stream not buffer or format data.
低级输入输出对数据不进行缓冲或格式化。
Acquires the standard input stream, which is set to a specified buffer size.
获取设置为指定缓冲区大小的标准输入流。
Acquires the standard output stream, which is set to a specified buffer size.
获取设置为指定缓冲区大小的标准输出流。
Creates a new output stream with the specified compressor and a default buffer size.
用指定的压缩器和默认缓冲区大小创建一个新的输出流。
Any stream with an internal buffer should override this method and provide a much more efficient version that writes to the buffer directly, avoiding the extra array allocation on every call.
所有具有内部缓冲区的流都应重写此方法,提供一个直接写入缓冲区的有效得多的版本,以避免每次调用时都要进行额外的数组分配。
Creates a new output stream with a default buffer size.
使用默认缓冲大小创建输出流。
The buffer automatically grows when data is written to the stream.
当数据写入该流时,缓冲会自动增长。
Writes the contents of the buffer to another character stream.
将缓冲的内容写入另一个字符流。
When overridden in a derived class, writes a message to a specified stream or buffer.
在衍生类别中覆写时,写入讯息至指定的资料流或缓冲区中。
In quantization step quantization gene is an important parameter in video stream control. The enactment of this parameter is determined by buffer occupancy.
量化阶段量化因子是一个控制码率的重要参数,这个参数的设定主要是结合缓冲区的占用容量。
We can tie the output stream to an input stream, in which case the output buffer is flushed whenever the associated input stream is read.
在这种情况下,在读输入流时将刷新其关联的输出缓冲区。
Stream I/O Model This leads to efficient I/O but beware: data written to a buffer does not appear in a file (or device) until the buffer is flushed or written out. (/n does this).
流是(表达)读写数据的一种可移植的方法,它为一般的I/O操作提供了灵活有效的手段。
应用推荐