NCmpStreamReader

Used for emulating file reads, as the library is a port of ncompress. The function must return the number of bytes read, 0 if EoF (or end of datasteam) has reached, or -1 on errors. rwCtxt can contain filenames if they're applicable.

alias NCmpStreamReader = int function
(
ubyte* bytes
,
size_t numBytes
,
void* rwCtxt
)

Meta