MCPcopy Create free account
hub / github.com/ThatGuySam/doesitarm / parseVersionMin

Method parseVersionMin

helpers/scanner/parsers/macho-node/parser.js:417–426  ·  view source on GitHub ↗
(type, buf)

Source from the content-addressed store, hash-verified

415 }
416
417 parseVersionMin (type, buf) {
418 if (buf.length !== 8)
419 throw new Error('min version OOB');
420
421 return {
422 type: type,
423 version: this.readUInt16(buf, 2) + '.' + buf[1] + '.' + buf[0],
424 sdk: this.readUInt16(buf, 6) + '.' + buf[5] + '.' + buf[4]
425 };
426 }
427
428 parseLinkEdit (type, buf) {
429 if (buf.length !== 8)

Callers 1

parseCommandMethod · 0.95

Calls 1

readUInt16Method · 0.80

Tested by

no test coverage detected