REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 564 B
Close
//proc/thread-self/root/home/byroehnu/.trash/node_modules11/bl/test/isBufferList.js
Text
Base64
'use strict' const tape = require('tape') const { BufferList, BufferListStream } = require('../') const { Buffer } = require('buffer') tape('isBufferList positives', (t) => { t.ok(BufferList.isBufferList(new BufferList())) t.ok(BufferList.isBufferList(new BufferListStream())) t.end() }) tape('isBufferList negatives', (t) => { const types = [ null, undefined, NaN, true, false, {}, [], Buffer.alloc(0), [Buffer.alloc(0)] ] for (const obj of types) { t.notOk(BufferList.isBufferList(obj)) } t.end() })
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
convert.js
609 B
lrw-r--r--
2026-02-28 00:26:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
indexOf.js
14.78 KB
lrw-r--r--
2026-02-28 00:27:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
isBufferList.js
564 B
lrw-r--r--
2026-02-28 00:27:16
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
test.js
22.49 KB
lrw-r--r--
2026-02-28 00:27:28
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).