mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
typings: add encodeIntoResults to EncodingBinding
Signed-off-by: greenhead <shren0812@gmail.com> PR-URL: https://github.com/nodejs/node/pull/65350 Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
742b4bf5a6
commit
f67ed991a6
1 file changed
+1
@@ -1,5 +1,6 @@
|
||||
export interface EncodingBinding {
|
||||
encodeInto(source: string, dest: Uint8Array): void;
|
||||
encodeIntoResults: Uint32Array;
|
||||
encodeUtf8String(str: string): Uint8Array;
|
||||
decodeUTF8(buffer: ArrayBufferView | ArrayBuffer | SharedArrayBuffer, ignoreBOM?: boolean, hasFatal?: boolean): string;
|
||||
toASCII(input: string): string;
|
||||
|
||||
Reference in new issue
Block a user