(index)
| 448 | } |
| 449 | |
| 450 | #getStringType(index) { |
| 451 | const adLength = this.#data[index]; |
| 452 | const start = index + 2, end = start + adLength - 1; |
| 453 | return String.fromArrayBuffer(this.#buffer.slice(start, end)); |
| 454 | } |
| 455 | #getUUID16ListType(index) { |
| 456 | const adLength = this.#data[index]; |
| 457 | const count = (adLength - 1) / 2; |
no test coverage detected