LibTIFF 4.7.2
TIFF library public API and implementation reference
Loading...
Searching...
No Matches
Data Fields

Track a borrowed byte range as a pointer and a remaining count. More...

#include <tif_bytecursor.h>

Data Fields

uint8_t * p
 Next byte to read or write.
 
tmsize_t left
 Number of bytes remaining from p.
 

Detailed Description

Track a borrowed byte range as a pointer and a remaining count.

The cursor does not own its storage; the caller keeps the range live and valid for at least left bytes from p while the cursor is used. The helpers below only advance p and decrease left together, by the same amount.

Definition at line 50 of file tif_bytecursor.h.

Field Documentation

◆ left

tmsize_t TIFFByteCursor::left

Number of bytes remaining from p.

Definition at line 55 of file tif_bytecursor.h.

Referenced by _TIFFByteCursorCopy(), _TIFFByteCursorFill(), _TIFFByteCursorGetU8(), and PackBitsDecode().

◆ p

uint8_t* TIFFByteCursor::p

Next byte to read or write.

Definition at line 53 of file tif_bytecursor.h.

Referenced by _TIFFByteCursorCopy(), _TIFFByteCursorFill(), _TIFFByteCursorGetU8(), and PackBitsDecode().


The documentation for this struct was generated from the following file: