()
| 62 | } |
| 63 | |
| 64 | now(): number { |
| 65 | const time = process.hrtime(); |
| 66 | return time[0] * 1000 + time[1] / 1000000; |
| 67 | } |
| 68 | |
| 69 | encode(text: string, encoding: string): Uint8Array { |
| 70 | if (encoding !== 'utf-8' && encoding !== 'utf8') { |
nothing calls this directly
no outgoing calls
no test coverage detected