(value: number)
| 431 | } |
| 432 | |
| 433 | private writeVarUInt64Number(value: number) { |
| 434 | while (value >= 0x80) { |
| 435 | this.platformBuffer[this.cursor++] = (value % 0x80) | 0x80; |
| 436 | value = Math.floor(value / 0x80); |
| 437 | } |
| 438 | this.platformBuffer[this.cursor++] = value; |
| 439 | } |
| 440 | |
| 441 | writeVarInt64(v: bigint | number) { |
| 442 | if (typeof v !== "bigint") { |
no test coverage detected