[ CCode ( array_length = false , vfunc_name = "Read" ) ]
public virtual unowned uint8[]? read (size_t num_bytes, uint8[]? optional_buffer)
Read at least num_bytes.
Does not change the current position if there is an error. Will only read if the entire amount can be read. Invalidates the buffer associated with previous calls to gsf_input_read.
| this |
the input stream |
| num_bytes |
number of bytes to read |
| optional_buffer |
Pointer to destination memory area |
|
pointer to the buffer or null if there is an error or 0 bytes are requested. |