Skip to main content

method Deno.UnsafePointerView.prototype.getCString

#UnsafePointerView.prototype.getCString(offset?: number): string

Gets a UTF-8 encoded string at the specified byte offset until 0 byte.

Returned string doesn't include U+0000 character.

Invalid UTF-8 characters are replaced with U+FFFD character in the returned string.

Parameters #

#offset: number
optional

Return Type #

string

你找到了你需要的东西吗?

隐私政策