(str: string)
| 55 | } |
| 56 | |
| 57 | function stringToIntArray(str: string): Uint8Array { |
| 58 | const array = new Uint8Array(str.length); |
| 59 | for (let i = 0; i < str.length; i++) { |
| 60 | array[i] = str.charCodeAt(i); |
| 61 | } |
| 62 | return array; |
| 63 | } |
| 64 | |
| 65 | type FetchBlobResult = { |
| 66 | success: true, |
no outgoing calls
no test coverage detected