Join us on Discord!
You can help CodeWalrus stay online by donating here.

Drawing to the buffer and screen

Started by Ephraim Becker, April 13, 2015, 06:33:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Duke "Tape" Eiyeron

A buffer is more or less like a sink. YOu have a tap where comes the water (the data input), you have the sink itself to contain up to an amount of water (the data buffer) and the hole where the water flows out (the data output).

The buffer is some space you allocate to make up for the difference you can have between the input and the output. let's say that your input flows faster than your output, the buffer is present to avoid having to stop the input each time you want to get some data. It allow the output or the input to wait until one of both can interact, whatever their speeds.
  • Calculators owned: A lot.

Powered by EzPortal