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.

How to display nodejs raw Buffer data as Hex string

The following code uses SerialPort module to listen to data from a bluetooth connection. I am expecting to see a …

node.js buffer
Converting a Buffer into a ReadableStream in Node.js

I'm fairly new to Buffers and ReadableStreams, so maybe this is a stupid question. I have a library that takes …

javascript node.js stream buffer
TypeError: coercing to Unicode: need string or buffer, int found

I have 2 APIs. I am fetching data from them. I want to assign particular code parts to string so that …

python api unicode buffer typeerror
What does it mean by buffer?

I see the word "BUFFER" everywhere, but I am unable to grasp what it exactly is. Would anybody please explain …

buffer terminology
Buffer entire file in memory with Node.js

I have a relatively small file (some hundreds of kilobytes) that I want to be in memory for direct access …

node.js stream buffer
Find the exact address of variable Buf

As reference, I'm using the following code: #include <stdio.h> #include <string.h> int main (void) { …

gdb buffer stack-overflow
What exactly does "Stream" and "Buffer" mean in Java I/O?

I just learned about input/output using BufferedReader. I wanted to know what exactly are the meanings of the term …

java buffer bufferedreader
std::cout won't print

Is there any circumstance when std::cout << "hello" doesn't work? I have a c/c++ code, however the …

c++ debugging buffer iostream cout
Printf a buffer of char with length in C

I have a buffer which I receive through a serial port. When I receive a certain character, I know a …

c buffer printf
C# FileStream : Optimal buffer size for writing large files?

Suppose I'm writing a couple of files to disk, between 2MB and 5GB. What are sensible buffer values for the …

c# size buffer filestream