About 40,700,000 results
Open links in new tab
  1. What is the difference between buffer and cache memory in Linux?

    Buffers are associated with a specific block device, and cover caching of filesystem metadata as well as tracking in-flight pages. The cache only contains parked file data. That is, the buffers …

  2. How to append binary data to a buffer in node.js - Stack Overflow

    I have a buffer with some binary data: var b = new Buffer ([0x00, 0x01, 0x02]); and I want to append 0x03. How can I append more binary data? I'm searching in the documentation but for …

  3. Convert a JSON Object to Buffer and Buffer to JSON Object back

    Jan 31, 2017 · I have a JSON object and I'm converting it to a Buffer and doing some process here. Later I want to convert the same buffer data to convert to valid JSON object. I'm working …

  4. Node.js: How to read a stream into a buffer? - Stack Overflow

    Jan 11, 2013 · I wrote a pretty simple function that downloads an image from a given URL, resize it and upload to S3 (using 'gm' and 'knox'), I have no idea if I'm doing the reading of a stream …

  5. javascript - In TypeScript 5.6+, `Buffer` is not assignable to ...

    Jul 24, 2024 · So how does this cause problems in Node.js? Well in @types/node, Buffer is basically a subtype of Uint8Array. Buffer unnecessarily redeclared the entries() method in a …

  6. Convert a binary NodeJS Buffer to JavaScript ArrayBuffer

    Dec 23, 2011 · A “small” Buffer 's buffer property is an ArrayBuffer that represents the entire memory pool. So in this case, the ArrayBuffer and the Buffer varies in size.

  7. What is a buffer overflow and how do I cause one?

    A buffer overflow is basically when a crafted section (or buffer) of memory is written outside of its intended bounds. If an attacker can manage to make this happen from outside of a program it …

  8. c - How large should my recv buffer be when calling recv in the …

    The answers to these questions vary depending on whether you are using a stream socket (SOCK_STREAM) or a datagram socket (SOCK_DGRAM) - within TCP/IP, the former …

  9. x86 - How do the store buffer and Line Fill Buffer interact with …

    Apr 10, 2020 · The store buffer conceptually is a totally local thing which doesn't really care about cache misses. The store buffer deals in "units" of individual stores of various sizes. Chips like …

  10. How to determine the size of an allocated C buffer? [duplicate]

    May 17, 2012 · Since buffer is a pointer (not an array), the sizeof operator returns the size of a pointer, not the size of the buffer it points to. There is no standard way to determine this size, …