MCPcopy 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

beginMethod · 0.95
sendMethod · 0.95
beginMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected