/var/www/greso.tech/server/nsm/node_modules/pdf-lib/src/core/objects
Edit: /var/www/greso.tech/server/nsm/node_modules/pdf-lib/src/core/objects/PDFObject.ts (640B)
import { MethodNotImplementedError } from 'src/core/errors';
import PDFContext from 'src/core/PDFContext';
class PDFObject {
clone(_context?: PDFContext): PDFObject {
throw new MethodNotImplementedError(this.constructor.name, 'clone');
}
toString(): string {
throw new MethodNotImplementedError(this.constructor.name, 'toString');
}
sizeInBytes(): number {
throw new MethodNotImplementedError(this.constructor.name, 'sizeInBytes');
}
copyBytesInto(_buffer: Uint8Array, _offset: number): number {
throw new MethodNotImplementedError(this.constructor.name, 'copyBytesInto');
}
}
export default PDFObject;