Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NativeScript/android
/ byte-buffer-test.js
File
byte-buffer-test.js
test-app/app/src/main/assets/app/tests/byte-buffer-test.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
describe(
"Tests mapped ByteBuffer conversion"
,
function
() {
2
it(
"should convert ByteBuffer to ArrayBuffer [Direct ByteBuffer]"
,
function
() {
3
var
bb = java.nio.ByteBuffer.allocateDirect(12);
4
var
ab = ArrayBuffer.from(bb);
Callers
nothing calls this directly
Calls
2
toBe
Method · 0.80
allocate
Method · 0.80
Tested by
no test coverage detected