(settings)
| 3699 | // object. The value is suitable for passing as the value of the |
| 3700 | // HTTP2-Settings header frame. |
| 3701 | function getPackedSettings(settings) { |
| 3702 | assertIsObject(settings, 'settings'); |
| 3703 | validateSettings(settings); |
| 3704 | updateSettingsBuffer({ ...settings }); |
| 3705 | return binding.packSettings(); |
| 3706 | } |
| 3707 | |
| 3708 | function getUnpackedSettings(buf, options = kEmptyObject) { |
| 3709 | if (!isArrayBufferView(buf) || buf.length === undefined) { |
nothing calls this directly
no test coverage detected