缓冲区是什么意思? [英] What does it mean by buffer?

查看:99
本文介绍了缓冲区是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我到处都看到 BUFFER 一词,但是我无法理解它的确切含义。

I see the word "BUFFER" everywhere, but I am unable to grasp what it exactly is.


  1. 有人可以用外行人的语言解释什么是缓冲吗?

  2. 何时使用?

  3. 如何使用

  1. Would anybody please explain what is buffer in layman's language?
  2. When is it used?
  3. How is it used?


推荐答案

想象一下,您正在从一个碗里吃糖果。你经常吃一块。为了防止碗快用完,有人可能会在碗变空之前重新装满它,这样当您要再拿一块时,碗中就会有糖果。

Imagine that you're eating candy out of a bowl. You take one piece regularly. To prevent the bowl from running out, someone might refill the bowl before it gets empty, so that when you want to take another piece, there's candy in the bowl.

碗在您和糖果袋之间起缓冲作用。

The bowl acts as a buffer between you and the candy bag.

如果您正在看电影在线服务将在接下来的5分钟左右的时间内将Web服务连续下载到缓冲区中,这样您的计算机就不必在观看时下载电影(这会导致挂起)。

If you're watching a movie online, the web service will continually download the next 5 minutes or so into a buffer, that way your computer doesn't have to download the movie as you're watching it (which would cause hanging).

这篇关于缓冲区是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆