read0


Description:

[ CCode ( array_length_pos = 1.1 , array_length_type = "gsize" ) ]
public uint8[] read0 (size_t num_bytes)

Read num_bytes.

Does not change the current position if there is an error. Will only read if the entire amount can be read.

Parameters:

this

the input stream

num_bytes

number of bytes to read

bytes_read

copy of num_bytes

Returns:

the data read.