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.

Is there any way to peek at the stdin buffer?

We know that stdin is, by default, a buffered input; the proof of that is in usage of any of …

c buffer stdin peek
HTML5 Video - File Loading Complete Event?

I need to detect when a video file has completed loading. I'm thinking I should use progress->buffer, but …

javascript html video buffer preload
Difference between JspWriter and PrintWriter in Java EE?

For all you "duplicate" fanatics, there is a similar question on SO right here. The difference is that I paint …

jsp jakarta-ee buffer printwriter output
Why is it good to close() an inputstream?

I have a sound experience in Java programming language. But one thing that has always been in my mind is …

java buffer inputstream outputstream
mysql show innodb status output

i am trying to view the buffer pool and row stats that is usually shown when running SHOW INNODB STATUS. …

mysql database buffer innodb status
How to redirect ex command output into current buffer or file?

How can I redirect or pipe the output of an ex command into my current buffer or a file? For …

vim command redirect buffer
Is writing to &str[0] buffer (of a std:string) well-defined behaviour in C++11?

char hello[] = "hello world"; std::string str; str.resize(sizeof(hello)-1); memcpy(&str[0], hello, sizeof(hello)-1); This …

c++ string c++11 buffer language-lawyer
What's the right way to clear a bytes.Buffer in golang?

I'm trying to clear a bytes.Buffer, but there's no such function in the document Maybe I should just renew …

go buffer
How much buffer does NetworkStream and TcpClient have?

We are writing a TCPServer and Client program. How much space is there in the TcpClient buffer? Like, at what …

c# tcp buffer tcpclient
How to delete multiple buffers in Vim?

Assuming I have multiple files opened as buffers in Vim. The files have *.cpp, *.h and some are *.xml. I …

vim buffer