(buf)
| 137 | } |
| 138 | |
| 139 | function bigIntFromBuffer(buf) { |
| 140 | return BigInt(`0x${buf.hexSlice(0, buf.length)}`); |
| 141 | } |
| 142 | |
| 143 | function bigIntToBuffer(bn) { |
| 144 | let hex = bn.toString(16); |
no outgoing calls
no test coverage detected
searching dependent graphs…