(set, remaining, itemCb, typeMapping, chunk)
| 871 | } |
| 872 | |
| 873 | #continueDecodeSetAsSet(set, remaining, itemCb, typeMapping, chunk) { |
| 874 | const item = itemCb(chunk); |
| 875 | if (typeof item === 'function') { |
| 876 | return this.#continueDecodeSetAsSet.bind( |
| 877 | this, |
| 878 | set, |
| 879 | remaining, |
| 880 | item, |
| 881 | typeMapping |
| 882 | ); |
| 883 | } |
| 884 | |
| 885 | set.add(item); |
| 886 | |
| 887 | return this.#decodeSetAsSet(set, remaining - 1, typeMapping, chunk); |
| 888 | } |
| 889 | |
| 890 | #decodeMap(typeMapping, chunk) { |
| 891 | const length = this.#decodeUnsingedNumber(0, chunk); |
nothing calls this directly
no test coverage detected