(count)
| 129 | return this.#format ? "buffer" : "number"; |
| 130 | } |
| 131 | #onWritable(count) { |
| 132 | this.#socket.writable = count; |
| 133 | if (!this.#ready) |
| 134 | this.#messageHandler(); |
| 135 | else if (count > 96) // 96 is an estimate of TLS overhead |
| 136 | this.#callbacks.onWritable?.(count - 96); |
| 137 | } |
| 138 | #onReadable(count) { |
| 139 | this.#socket.readable = count; |
| 140 | if (this.#data) |
no test coverage detected