(msg: PortalOpts)
| 237 | } |
| 238 | |
| 239 | const close = (msg: PortalOpts): Buffer => { |
| 240 | const text = `${msg.type}${msg.name || ''}` |
| 241 | return cstringMessage(code.close, text) |
| 242 | } |
| 243 | |
| 244 | const copyData = (chunk: Buffer): Buffer => { |
| 245 | return writer.add(chunk).flush(code.copyFromChunk) |
nothing calls this directly
no test coverage detected