node-signpdf
Version:
DEPRECATED. Have a look at @signpdf/signpdf instead.
10 lines • 317 B
TypeScript
export default removeTrailingNewLine;
/**
* Removes a trailing new line if there is such.
*
* Also makes sure the file ends with an EOF line as per spec.
* @param {Buffer} pdf
* @returns {Buffer}
*/
declare function removeTrailingNewLine(pdf: Buffer): Buffer;
//# sourceMappingURL=removeTrailingNewLine.d.ts.map