(accessor: (expr: string) => string)
| 108 | } |
| 109 | |
| 110 | read(accessor: (expr: string) => string): string { |
| 111 | const epoch = this.scope.declareByName("epoch", `new Date("1970/01/01 00:00").getTime()`); |
| 112 | return accessor(`new Date(${epoch} + (Number(${this.builder.reader.readVarInt64()}) * (24 * 60 * 60) * 1000))`); |
| 113 | } |
| 114 | |
| 115 | getFixedSize(): number { |
| 116 | return 11; |
nothing calls this directly
no test coverage detected