Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/llrt
/ buffer.test.ts
File
buffer.test.ts
tests/unit/buffer.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
defaultImport from
"node:buffer"
;
2
import
legacyImport from
"buffer"
;
3
4
it(
"node:buffer should be the same as buffer"
, () => {
Callers
nothing calls this directly
Calls
15
allocUnsafe
Method · 0.80
allocUnsafeSlow
Method · 0.80
byteLength
Method · 0.80
concat
Method · 0.80
subarray
Method · 0.80
isBuffer
Method · 0.80
isEncoding
Method · 0.80
copy
Method · 0.80
writeBigInt64BE
Method · 0.80
writeBigInt64LE
Method · 0.80
writeDoubleBE
Method · 0.80
writeDoubleLE
Method · 0.80
Tested by
no test coverage detected