(input: IReadable)
| 29 | } |
| 30 | |
| 31 | public static readInt32LE(input: IReadable): number { |
| 32 | const ch1: number = input.readByte(); |
| 33 | const ch2: number = input.readByte(); |
| 34 | const ch3: number = input.readByte(); |
| 35 | const ch4: number = input.readByte(); |
| 36 | return (ch4 << 24) | (ch3 << 16) | (ch2 << 8) | ch1; |
| 37 | } |
| 38 | |
| 39 | public static readInt64LE(input: IReadable): number { |
| 40 | const b = new Uint8Array(8); |
no test coverage detected