MCPcopy Index your code
hub / github.com/nodejs/node / getPackedSettings

Function getPackedSettings

lib/internal/http2/core.js:3701–3706  ·  view source on GitHub ↗
(settings)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

updateSettingsBufferFunction · 0.85

Tested by

no test coverage detected