(s, data)
| 212 | return null; |
| 213 | } |
| 214 | write(s, data) { |
| 215 | if (data.byteLength > maxFragmentSize) |
| 216 | return -1; // too large |
| 217 | this.startTrace("packetize"); |
| 218 | s.write(recordProtocol.packetize(this, recordProtocol.application_data, data)); |
| 219 | return data.length; |
| 220 | } |
| 221 | close(s) { |
| 222 | this.startTrace("packetize"); |
| 223 | s.write(SSLAlert.packetize(this, 0, SSLAlert.close_notify)); |
nothing calls this directly
no test coverage detected