(packets)
| 247 | } |
| 248 | |
| 249 | writeBundle (packets) { |
| 250 | if (this._hasBundlePacket) this.write('bundle_delimiter', {}) |
| 251 | for (const [name, params] of packets) this.write(name, params) |
| 252 | if (this._hasBundlePacket) this.write('bundle_delimiter', {}) |
| 253 | } |
| 254 | |
| 255 | writeRaw (buffer) { |
| 256 | const stream = this.compressor === null ? this.framer : this.compressor |