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.

Clearing a string buffer/builder after loop

How do you clear the string buffer in Java after a loop so the next iteration uses a clear string …

java string buffer
How to find the socket buffer size of linux

What's the default socket buffer size of linux? Is there any command to see it?

linux sockets buffer
Java - Convert int to Byte Array of 4 Bytes?

Possible Duplicate: Convert integer into byte array (Java) I need to store the length of a buffer, in a byte …

java byte buffer
Ring Buffer in Java

I have a streaming time series, of which I am interested in keeping the last 4 elements, which means I want …

java buffer
Char array to hex string C++

I searched char* to hex string before but implementation I found adds some non-existent garbage at the end of hex …

c++ hex buffer byte
Convert a JSON Object to Buffer and Buffer to JSON Object back

I have a JSON object and I'm converting it to a Buffer and doing some process here. Later I want …

json node.js buffer
How do you determine the ideal buffer size when using FileInputStream?

I have a method that creates a MessageDigest (a hash) from a file, and I need to do this to …

java performance file-io filesystems buffer
How large should my recv buffer be when calling recv in the socket library

I have a few questions about the socket library in C. Here is a snippet of code I'll refer to …

c sockets buffer recv
How to append binary data to a buffer in node.js

I have a buffer with some binary data: var b = new Buffer ([0x00, 0x01, 0x02]); and I want to append 0…

node.js binary append buffer
Correct way to read a text file into a buffer in C?

I'm dealing with small text files that i want to read into a buffer while i process them, so i've …

c input buffer