(accessor: string)
| 33 | } |
| 34 | |
| 35 | write(accessor: string): string { |
| 36 | return this.builder.writer.writeUint8(`${accessor} ? 1 : 0`); |
| 37 | } |
| 38 | |
| 39 | read(accessor: (expr: string) => string): string { |
| 40 | return accessor(`${this.builder.reader.readUint8()} === 1`); |
nothing calls this directly
no test coverage detected