()
| 1899 | } |
| 1900 | __name(getU8, "getU8"); |
| 1901 | function getLEB() { |
| 1902 | var ret = 0; |
| 1903 | var mul = 1; |
| 1904 | while (1) { |
| 1905 | var byte = binary2[offset++]; |
| 1906 | ret += (byte & 127) * mul; |
| 1907 | mul *= 128; |
| 1908 | if (!(byte & 128)) break; |
| 1909 | } |
| 1910 | return ret; |
| 1911 | } |
| 1912 | __name(getLEB, "getLEB"); |
| 1913 | function getString() { |
| 1914 | var len = getLEB(); |
no outgoing calls
no test coverage detected