(buffer: Uint32Array)
| 100 | } |
| 101 | |
| 102 | function decodeBuildId(buffer: Uint32Array): string { |
| 103 | if (buffer.length !== 8) { |
| 104 | throw new Error("Expected 256 bit buffer"); |
| 105 | } |
| 106 | return Array.from(buffer, (n) => n.toString(16).padStart(8, "0")).join(""); |
| 107 | } |
| 108 | |
| 109 | function checkEntry(index: number, value: any, expected: any): void { |
| 110 | if (value === expected) { |
no test coverage detected
searching dependent graphs…