About 66,800,000 results
Open links in new tab
  1. terminology - What does it mean by buffer? - Stack Overflow

    Here, the buffer array is used to store the data read by read (2) until it's written; then the buffer is re-used. There are more complicated buffer schemes used, for example a circular buffer, where …

  2. 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 …

  3. 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 to …

  4. 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 way …

  5. keepass - How to convert "Buffer<ArrayBufferLike>" to …

    Jan 10, 2025 · 1 In your code you use KeePassFileBuffer.buffer directly, which may cause a potential mismatch in content, as this is the internal ArrayBuffer, which may contain additional …

  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. 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 …

  8. Node.js : difference between Buffer.slice and Buffer.subarray

    Jul 29, 2020 · I have a look at the Node.js Buffer documentation and I don't understand the difference between Buffer.slice and Buffer.subarray. Both point to "the same memory as the …

  9. Convert string to buffer Node - Stack Overflow

    May 25, 2016 · return Buffer.concat(stdOut).toString('utf-8'); But I don't want string version of it. I just want the buffer So how to convert string back to buffer. Something like if

  10. How do you implement a circular buffer in C? - Stack Overflow

    Do you need a circular buffer or a queue? The required operations make it sound like queue. I admit that with the requirement of a fixed size using a circular buffer make sense, but I'm not …