(value: bigint)
| 220 | }; |
| 221 | |
| 222 | const writeBigInt64BE = (value: bigint): Uint8Array => { |
| 223 | const bytes = new Uint8Array(8); |
| 224 | const view = new DataView(bytes.buffer); |
| 225 | view.setBigInt64(0, value, false); |
| 226 | return bytes; |
| 227 | }; |
| 228 | |
| 229 | /** |
| 230 | * Parse from driver value |