xzread.vi

Reads the given number 'len' of uncompressed bytes from the compressed file.

If the input file was not in gz format, xzread copies the given number of bytes into the buffer.

xzread returns the number of uncompressed bytes actually read (0 for end of file, -1 for error).


Connector Pane

xzread.vi


Controls and Indicators

cdlrn

file/in

"gz" filehandle from xzopen.

cu32

len

ii32

Result

i1du8

buf

idlrn

file/out