(
protected ptyTerm: PtyTerminal,
protected encoding: string,
protected scale: number)
| 256 | private hrTimer = new HrTimer(); |
| 257 | |
| 258 | constructor( |
| 259 | protected ptyTerm: PtyTerminal, |
| 260 | protected encoding: string, |
| 261 | protected scale: number) { |
| 262 | this.bytesRead = 0; |
| 263 | this.encoding = getBinaryEncoding(encoding); |
| 264 | this.scale = scale || 1; |
| 265 | } |
| 266 | |
| 267 | public writeBinary(input: string | Buffer) { |
| 268 | const data: Buffer = Buffer.from(input); |
nothing calls this directly
no test coverage detected