MCPcopy Create free account
hub / github.com/Code-Bullet/Jump-King / makeTableRecord

Function makeTableRecord

libraries/p5.js:6431–6438  ·  view source on GitHub ↗
(tag, checkSum, offset, length)

Source from the content-addressed store, hash-verified

6429}
6430
6431function makeTableRecord(tag, checkSum, offset, length) {
6432 return new table.Table('Table Record', [
6433 {name: 'tag', type: 'TAG', value: tag !== undefined ? tag : ''},
6434 {name: 'checkSum', type: 'ULONG', value: checkSum !== undefined ? checkSum : 0},
6435 {name: 'offset', type: 'ULONG', value: offset !== undefined ? offset : 0},
6436 {name: 'length', type: 'ULONG', value: length !== undefined ? length : 0}
6437 ]);
6438}
6439
6440function makeSfntTable(tables) {
6441 var sfnt = new table.Table('sfnt', [

Callers 1

makeSfntTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected