(typeMapping, chunk)
| 805 | } |
| 806 | |
| 807 | #decodeSet(typeMapping, chunk) { |
| 808 | const length = this.#decodeUnsingedNumber(0, chunk); |
| 809 | if (typeof length === 'function') { |
| 810 | return this.#continueDecodeSetLength.bind(this, length, typeMapping); |
| 811 | } |
| 812 | |
| 813 | return this.#decodeSetItems( |
| 814 | length, |
| 815 | typeMapping, |
| 816 | chunk |
| 817 | ); |
| 818 | } |
| 819 | |
| 820 | #continueDecodeSetLength(lengthCb, typeMapping, chunk) { |
| 821 | const length = lengthCb(chunk); |
no test coverage detected