Add String.fromUTF8 helper (see #291); Update dist files

This commit is contained in:
dcodeIO
2018-10-03 00:49:56 +02:00
parent 53b030fed5
commit b7e7be20cf
9 changed files with 5344 additions and 15 deletions

View File

@ -490,6 +490,7 @@ declare class String {
padEnd(targetLength: i32, padString?: string): string;
repeat(count?: i32): string;
toString(): string;
static fromUTF8(ptr: usize, len: usize): string;
toUTF8(): usize;
}