(word: number)
| 159 | } |
| 160 | |
| 161 | function word32ToByteString(word: number): string { |
| 162 | let str = ''; |
| 163 | for (let i = 0; i < 4; i++) { |
| 164 | str += String.fromCharCode((word >>> (8 * (3 - i))) & 0xff); |
| 165 | } |
| 166 | return str; |
| 167 | } |
| 168 | |
| 169 | function byteStringToHexString(str: string): string { |
| 170 | let hex: string = ''; |
no outgoing calls
no test coverage detected
searching dependent graphs…