MCPcopy Create free account
hub / github.com/totaljs/framework / u32

Function u32

image.js:52–54  ·  view source on GitHub ↗
(buf, o)

Source from the content-addressed store, hash-verified

50}
51
52function u32(buf, o) {
53 return buf[o] << 24 | buf[o + 1] << 16 | buf[o + 2] << 8 | buf[o + 3];
54}
55
56exports.measureGIF = function(buffer) {
57 return { width: buffer[6], height: buffer[8] };

Callers 1

image.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected