push
github
1812 of 1862 branches covered (97.31%)
Branch coverage included in aggregate %.
3749 of 3817 relevant lines covered (98.22%)
2306.02 hits per line
| 1 |
'use strict';
|
|
| 2 |
|
8✔ |
| 3 |
class Buffer {
|
8✔ |
| 4 |
hexSlice(start = 0, end) {
|
|
| 5 |
return Array.prototype.map.call(
|
60✔ |
| 6 |
this.slice(start, end),
|
60✔ |
| 7 |
(x) => ('00' + x.toString(16)).slice(-2)) |
|
| 8 |
.join('');
|
60✔ |
| 9 |
} |
60✔ |
| 10 |
} |
8✔ |
| 11 |
|
8✔ |
| 12 |
exports.Buffer = Buffer; |
8✔ |