UNPKG

@accounter/shaam6111-generator

Version:

Fully typed application that generates, parses, and validates SHAAM 6111 tax reports.

13 lines (12 loc) 476 B
/** * Converts a UTF-8 string to a Windows-1255 encoded buffer. * @param input The input string to encode. * @returns A Buffer containing the Windows-1255 encoded data. */ export declare function toWindows1255(input: string): Buffer; /** * Converts a Windows-1255 encoded buffer to a UTF-8 string. * @param buffer The input buffer to decode. * @returns A string decoded from the Windows-1255 buffer. */ export declare function fromWindows1255(buffer: Buffer): string;