Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Wscats/chrome-devtools-cli
/ strToBuffer
Function
strToBuffer
src/__tests__/MediaStreamRecorder.js:2446–2450 ·
view source on GitHub ↗
(str)
Source
from the content-addressed store, hash-verified
2444
}
2445
2446
function
strToBuffer(str) {
2447
return
new
Uint8Array(str.split(
''
).map(
function
(e) {
2448
return
e.charCodeAt(0);
2449
}));
2450
}
2451
2452
function
bitsToBuffer(bits) {
2453
var
data = [];
Callers
1
generateEBML
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected