UNPKG

@cantoo/pdf-lib

Version:

Create and modify PDF files with JavaScript

17 lines 587 B
import { MethodNotImplementedError } from '../errors.js'; class PDFObject { clone(_context) { throw new MethodNotImplementedError(this.constructor.name, 'clone'); } toString() { throw new MethodNotImplementedError(this.constructor.name, 'toString'); } sizeInBytes() { throw new MethodNotImplementedError(this.constructor.name, 'sizeInBytes'); } copyBytesInto(_buffer, _offset) { throw new MethodNotImplementedError(this.constructor.name, 'copyBytesInto'); } } export default PDFObject; //# sourceMappingURL=PDFObject.js.map