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.

Python writing binary files, bytes

Python 3. I'm using QT's file dialog widget to save PDFs downloaded from the internet. I've been reading the file using …

python python-3.x io buffer bufferedreader
Why changing value of SO_RCVBUF doesn't work?

I'm making a program which create a RAW socket in order to read all traffic. Between the call of socket() …

c sockets buffer setsockopt
A dynamic buffer type in C++?

I'm not exactly a C++ newbie, but I have had little serious dealings with it in the past, so my …

c++ memory-management stl dynamic buffer
Diff two tabs in Vim

Scenario: I have opened Vim and pasted some text. I open a second tab with :tabe and paste some other …

vim diff tabs vimdiff buffer
When to use .NET BufferedStream class?

The MSDN site states: A buffer is a block of bytes in memory used to cache data, thereby reducing the …

.net performance buffer
When to use byte array & when byte buffer?

What is the difference between a byte array & byte buffer ? Also, in what situations should one be preferred over …

java byte bytearray buffer
How can I store an integer in a nodejs Buffer?

The nodejs Buffer is pretty swell. However, it seems to be geared towards storing strings. The constructors either take a …

node.js buffer
PHP Flush/ob_flush not working

I've tried several attempts at getting my flush and ob_flush to work. I've tried setting the ini to allow …

php buffer output-buffering
How do you flush a buffered log4j FileAppender?

In log4j, when using a FileAppender with BufferedIO=true and BufferSize=xxx properties (i.e. buffering is enabled), I …

java log4j buffer
How to append bytes, multi-bytes and buffer to ArrayBuffer in javascript?

Javascript ArrayBuffer or TypedArrays dont have any kind of appendByte(), appendBytes(), or appendBuffer() methods. So if I want to fill …

javascript buffer arraybuffer typed-arrays