For faster navigation, this Iframe is preloading the Wikiwand page for 字符串流.

字符串流

在电脑科学领域,字符串流(英语:stream),又译,这个词有很多用法。所有这一些用法都是代表一个包含资料的序列。我们可以将字符串流想做是一个允许资料一个接一个,而非将资料包作一整个,来进行处理的输送带

  • Unix以及其他与C语言相关的系统,字符串流是一个资料的源头(source)或者接收处(sink),一般是独立的一堆位元(bytes)或字符(characters)。字符串流是在读写文件,或者透过网络接口(socket)跟其他电脑沟通时,使用的一个抽象的概念。这里的标准流则是代表在系统里面所有程序都可以取用的三个字符串流。
  • 管道也可以用字符串流的方式理解。
  • Scheme语言和某些其他语言,字符串流是一个惰性求值。字符串流可以用类似list的方式使用。因此字符串流可以用来表示无限序列无穷级数.[1]
  • Smalltalk标准程序库和一些编程语言中,字符串流是一种外部迭代器。在这个概念里面,字符串流可以用来代表有限或者无限的序列。
  • 流处理—在并行计算里面,特别是图像处理的部分,字符串流这个词可以同时用在硬件软件上面。
  • 档管理系统可以对单一文件名使用很多分别的独立字符串流。有一个主要的字符串流处理文件主要的资料。其余的字符串流可以用来存储图标,文件摘要和资讯(这个文件从哪里下载的)等等的资讯。[2]

相关条目

参考资料

  1. ^ SRFI 41: Streams. [2010-10-29]. (原始内容存档于2021-03-07). 
  2. ^ at MSDN.

外部链接

{{bottomLinkPreText}} {{bottomLinkText}}
字符串流
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?