mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -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
54a5e25f72
commit
371e2260f4
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