* Gets the current content synchronously. * For dynamic content providers, this gets fresh content from the entry. * @returns {Buffer}
()
| 433 | * @returns {Buffer} |
| 434 | */ |
| 435 | get content() { |
| 436 | // If entry has a dynamic content provider, get fresh content sync |
| 437 | if (this.#entry?.isDynamic && this.#entry.isDynamic()) { |
| 438 | return this.#entry.getContentSync(); |
| 439 | } |
| 440 | return this.#content.subarray(0, this.#size); |
| 441 | } |
| 442 | |
| 443 | /** |
| 444 | * Gets the current content asynchronously. |
nothing calls this directly
no test coverage detected