(value: number)
| 94 | } |
| 95 | |
| 96 | function normalizeClockSample(value: number): number { |
| 97 | if (!Number.isFinite(value)) return 0; |
| 98 | const floored = Math.floor(value); |
| 99 | if (floored < 0) return 0; |
| 100 | return floored; |
| 101 | } |
| 102 | |
| 103 | function toLowerHex(bytes: Uint8Array): string { |
| 104 | const out = new Array<string>(bytes.byteLength); |
no outgoing calls
no test coverage detected