Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Moddable-OpenSource/moddable
/ pixelsToBytes
Method
pixelsToBytes
modules/commodetto/commodettoRLEOut.js:163–165 ·
view source on GitHub ↗
(count)
Source
from the content-addressed store, hash-verified
161
162
}
163
pixelsToBytes(count) {
164
return
(count * this.depth) >> 3;
165
}
166
get bitmap() {
167
return
this.bits;
168
}
Callers
3
begin
Method · 0.95
send
Method · 0.95
begin
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected