@cantoo/pdf-lib
Version:
Create and modify PDF files with JavaScript
20 lines • 702 B
JavaScript
import { MethodNotImplementedError } from '../errors.js';
class PDFObject {
registerChange() {
throw new MethodNotImplementedError(this.constructor.name, 'registerChange');
}
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