(data)
| 248 | } |
| 249 | |
| 250 | ref(data) { |
| 251 | const ref = new PDFReference(this, this._offsets.length + 1, data); |
| 252 | this._offsets.push(null); // placeholder for this object's offset once it is finalized |
| 253 | this._waiting++; |
| 254 | return ref; |
| 255 | } |
| 256 | |
| 257 | _read() {} |
| 258 | // do nothing, but this method is required by node |
no test coverage detected