(accessor: (expr: string) => string)
| 46 | } |
| 47 | |
| 48 | read(accessor: (expr: string) => string): string { |
| 49 | const seconds = this.builder.reader.readInt64(); |
| 50 | const nanos = this.builder.reader.readUint32(); |
| 51 | return accessor(`new Date(Number(${seconds}) * 1000 + Math.floor(${nanos} / 1000000))`); |
| 52 | } |
| 53 | |
| 54 | getFixedSize(): number { |
| 55 | return 12; |
nothing calls this directly
no test coverage detected