win32-def
Version:
win32 definitions for node-ffi
11 lines • 491 B
TypeScript
import type { WCHAR_Array } from './common.types.js';
export declare function decodeInt16Array(input: WCHAR_Array, length?: number): string;
/**
* Convert a Buffer to string with UCS2 encoding, and remove the last '\0'.
*/
export declare function ucsBufferToString(input: Buffer, charNum?: number): string;
/**
* Convert a string to Buffer with UCS2 encoding, and append a '\0' at the end.
*/
export declare function ucsBufferFrom(str: string): Buffer;
//# sourceMappingURL=util.d.ts.map