| 502 | } |
| 503 | |
| 504 | uint8_t Xtc::getBitDepth() const { |
| 505 | if (!loaded || !parser) { |
| 506 | return 1; // Default to 1-bit |
| 507 | } |
| 508 | return parser->getBitDepth(); |
| 509 | } |
| 510 | |
| 511 | size_t Xtc::loadPage(uint32_t pageIndex, uint8_t* buffer, size_t bufferSize) const { |
| 512 | if (!loaded || !parser) { |
no outgoing calls
no test coverage detected