/
var
/
www
/
qr4y.kz
/
server
/
delivery
/
node_modules
/
@types
/
node
/
/var/www/qr4y.kz/server/delivery/node_modules/@types/node
mkdir
upload
Name
Size
Mode
Actions
assert/
-
0755
rm
dns/
-
0755
rm
fs/
-
0755
rm
stream/
-
0755
rm
timers/
-
0755
rm
assert.d.ts
38561
0755
edit
dl
rm
async_hooks.d.ts
20933
0755
edit
dl
rm
buffer.d.ts
102175
0755
edit
dl
rm
child_process.d.ts
66120
0755
edit
dl
rm
cluster.d.ts
20539
0755
edit
dl
rm
console.d.ts
18331
0755
edit
dl
rm
constants.d.ts
613
0755
edit
dl
rm
crypto.d.ts
152409
0755
edit
dl
rm
dgram.d.ts
26735
0755
edit
dl
rm
diagnostics_channel.d.ts
5936
0755
edit
dl
rm
dns.d.ts
29697
0755
edit
dl
rm
domain.d.ts
7805
0755
edit
dl
rm
events.d.ts
29065
0755
edit
dl
rm
fs.d.ts
176211
0755
edit
dl
rm
globals.d.ts
9252
0755
edit
dl
rm
globals.global.d.ts
39
0755
edit
dl
rm
http.d.ts
64373
0755
edit
dl
rm
http2.d.ts
112387
0755
edit
dl
rm
https.d.ts
21371
0755
edit
dl
rm
index.d.ts
6394
0755
edit
dl
rm
inspector.d.ts
125418
0755
edit
dl
rm
LICENSE
1141
0755
edit
dl
rm
module.d.ts
4089
0755
edit
dl
rm
net.d.ts
36766
0755
edit
dl
rm
os.d.ts
16674
0755
edit
dl
rm
package.json
5105
0755
edit
dl
rm
path.d.ts
7064
0755
edit
dl
rm
perf_hooks.d.ts
21036
0755
edit
dl
rm
process.d.ts
73093
0755
edit
dl
rm
punycode.d.ts
5482
0755
edit
dl
rm
querystring.d.ts
6487
0755
edit
dl
rm
readline.d.ts
26488
0755
edit
dl
rm
README.md
2499
0755
edit
dl
rm
repl.d.ts
19463
0755
edit
dl
rm
stream.d.ts
64203
0755
edit
dl
rm
string_decoder.d.ts
2818
0755
edit
dl
rm
timers.d.ts
4604
0755
edit
dl
rm
tls.d.ts
50769
0755
edit
dl
rm
trace_events.d.ts
6780
0755
edit
dl
rm
tty.d.ts
9854
0755
edit
dl
rm
url.d.ts
39297
0755
edit
dl
rm
util.d.ts
64299
0755
edit
dl
rm
v8.d.ts
15269
0755
edit
dl
rm
vm.d.ts
20970
0755
edit
dl
rm
wasi.d.ts
7051
0755
edit
dl
rm
worker_threads.d.ts
32234
0755
edit
dl
rm
zlib.d.ts
19520
0755
edit
dl
rm
Edit:
/var/www/qr4y.kz/server/delivery/node_modules/@types/node/string_decoder.d.ts
(2818B)
/** * The `string_decoder` module provides an API for decoding `Buffer` objects into * strings in a manner that preserves encoded multi-byte UTF-8 and UTF-16 * characters. It can be accessed using: * * ```js * const { StringDecoder } = require('string_decoder'); * ``` * * The following example shows the basic use of the `StringDecoder` class. * * ```js * const { StringDecoder } = require('string_decoder'); * const decoder = new StringDecoder('utf8'); * * const cent = Buffer.from([0xC2, 0xA2]); * console.log(decoder.write(cent)); * * const euro = Buffer.from([0xE2, 0x82, 0xAC]); * console.log(decoder.write(euro)); * ``` * * When a `Buffer` instance is written to the `StringDecoder` instance, an * internal buffer is used to ensure that the decoded string does not contain * any incomplete multibyte characters. These are held in the buffer until the * next call to `stringDecoder.write()` or until `stringDecoder.end()` is called. * * In the following example, the three UTF-8 encoded bytes of the European Euro * symbol (`€`) are written over three separate operations: * * ```js * const { StringDecoder } = require('string_decoder'); * const decoder = new StringDecoder('utf8'); * * decoder.write(Buffer.from([0xE2])); * decoder.write(Buffer.from([0x82])); * console.log(decoder.end(Buffer.from([0xAC]))); * ``` * @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/string_decoder.js) */ declare module 'string_decoder' { class StringDecoder { constructor(encoding?: BufferEncoding); /** * Returns a decoded string, ensuring that any incomplete multibyte characters at * the end of the `Buffer`, or `TypedArray`, or `DataView` are omitted from the * returned string and stored in an internal buffer for the next call to`stringDecoder.write()` or `stringDecoder.end()`. * @since v0.1.99 * @param buffer A `Buffer`, or `TypedArray`, or `DataView` containing the bytes to decode. */ write(buffer: Buffer): string; /** * Returns any remaining input stored in the internal buffer as a string. Bytes * representing incomplete UTF-8 and UTF-16 characters will be replaced with * substitution characters appropriate for the character encoding. * * If the `buffer` argument is provided, one final call to `stringDecoder.write()`is performed before returning the remaining input. * After `end()` is called, the `stringDecoder` object can be reused for new input. * @since v0.9.3 * @param buffer A `Buffer`, or `TypedArray`, or `DataView` containing the bytes to decode. */ end(buffer?: Buffer): string; } } declare module 'node:string_decoder' { export * from 'string_decoder'; }
Save
cmd:
run