mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-13 23:11:41 +00:00
Add String.fromUTF8 helper (see #291); Update dist files
This commit is contained in:
1
std/assembly/index.d.ts
vendored
1
std/assembly/index.d.ts
vendored
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user