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.

Byte array with padding of null bytes at the end: how to efficiently copy to smaller byte array

Have: [46][111][36][11][101][55][87][30][122][75][66][32][49][55][67][77][88][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0] Want: [46][111][36][11][101][55][87][30][122][75][66][32][49][55][67][77][88] I have an array of bytes size 8192 to start, and starting at some index in that first array …

java arrays buffer
Java SocketException: No buffer space available

My java code use several threads, each thread run a ServerSocket and goes in accept. These threads communicate each other …

java buffer space socketexception
Reading from a file in assembly

I'm trying to learn assembly -- x86 in a Linux environment. The most useful tutorial I can find is Writing …

linux file assembly buffer nasm
MemoryStream.Read doesn't copy bytes to buffer - c#

I don't really get it and it's driving me nuts. i've these 4 lines: Image img = Image.FromFile("F:\\Pulpit\\soa.…

c# image buffer memorystream
Causing a buffer Overflow with fgets

I'm experimenting with buffer overflows and try to overwrite the return address of the stack with a certain input of …

c buffer overflow stack-overflow fortify-source
endl and flushing the buffer

In the C++ primer book, in chapter (1), it mentions the following: endl is a special value, called a manipulator, that …

c++ buffer flush
C++ Buffer Overflow

I'm trying to teach myself about buffer overflows and exploitation in C++. I'm an intermediate C++ guy, at best, so …

c++ overflow buffer exploit
BufferedReader default buffer size?

According to the documentation, BufferedReader(Reader) uses a default buffer size, while the second constructor, BufferedReader(Reader, int) allows the …

java buffer bufferedreader
Intellij IDEA with ideavim. Cannot copy text from another source

I tried to copy text from IDEA with ideavim plugin, using default vim keybindings (y). But this text isn't copied …

intellij-idea copy buffer ideavim
Convert Blob data to Raw buffer in javascript or node

I am using a plugin jsPDF which generates PDF and saves it to local file system. Now in jsPDF.js, …

javascript node.js printing buffer jspdf