MCPcopy
hub / github.com/node-formidable/formidable / forceBuffer.js

File forceBuffer.js

examples/forceBuffer.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// warning: forcing file into a Buffer elminates the benefits of using streams and may cause memory overflow
2import http from 'node:http';
3import { Buffer } from 'node:buffer'
4import { Writable } from 'node:stream';

Callers

nothing calls this directly

Calls 4

formidableFunction · 0.85
parseMethod · 0.80
endMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected