Top "Buffer" questions

A buffer is an area of memory set aside for temporary storage of data while it is being moved from one place to another.

Implementing a fixed-size log file, or a circular buffer on disk

I checked this question, but it's not what I'm looking for. I'm trying to figure out how to cap a …

logging file-io buffer circular-buffer
What is a buffer in Node.js?

As you can read in the Node.js documentation on the Buffer class, a buffer is similar to an array …

node.js buffer
cin for an int inputing a char causes Loop that is supposed to check input to go wild

This is a function of my game it will ask for input and cin into "iAuswahl"! Then the while loop …

c++ char int buffer cin
Choosing a buffer size for a WebSocket response

I'm writing a C# application that connects to a websocket server, and receives a JSON response of unknown size. I'm …

c# json websocket buffer clientwebsocket
StreamReader and buffer in C#

I've a question about buffer usage with StreamReader. Here: http://msdn.microsoft.com/en-us/library/system.io.streamreader.aspx you …

c# streaming buffer streamreader buffering
Illegal State Exception when creating new Bufferstrategy

When I am trying to figure out how to use bufferstrategies, and overall just improving how I write my code …

java buffer illegalstateexception
Use streambuf as buffer for boost asio read and write

I'm using this code for reading socket_.async_read_some(boost::asio::buffer(data_, max_length), boost::bind(&session::…

c++ boost buffer boost-asio streambuf
Looping over Protocol Buffers attributes in Python

I would like help with recursively looping over all attributes/sub objects contained in a protocol buffers message, assuming that …

python attributes buffer protocols elements
PushbackInputStream: Push back buffer is full

Why I am getting the following exception: Exception in thread "main" java.io.IOException: Push back buffer is full at …

java stream buffer ioexception pushbackinputstream
When to use Array, Buffer or direct Buffer

Question While writing a Matrix class for use with OpenGL libraries, I came across the question of whether to use …

java arrays performance buffer