(bytes: Uint8Array, offset: number)
| 90 | } |
| 91 | |
| 92 | const readInt32 = (bytes: Uint8Array, offset: number): number => |
| 93 | (bytes[offset] << 24) | (bytes[offset + 1] << 16) | (bytes[offset + 2] << 8) | bytes[offset + 3] |
| 94 | |
| 95 | /** Writes an int64, given a value the caller has checked fits a double exactly. */ |
| 96 | const writeInt64 = (bytes: Uint8Array, offset: number, value: number): void => { |
no outgoing calls
no test coverage detected