()
| 10 | } |
| 11 | |
| 12 | foo() { |
| 13 | let list = this.value.foo() |
| 14 | const suffix = new TextEncoder().encode(" Thing.foo") |
| 15 | let result = new Uint8Array(list.length + suffix.length) |
| 16 | result.set(list) |
| 17 | result.set(suffix, list.length) |
| 18 | return result |
| 19 | } |
| 20 | |
| 21 | bar(list) { |
| 22 | const suffix = new TextEncoder().encode(" Thing.bar") |