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:
greenhead authored and Antoine du Hamel committed 2026-09-19 12:07:54 +02:00
1 parent 742b4bf5a6
commit f67ed991a6
1 file changed
+1
+1
View File
@@ -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;