peek_buffer
Description:
[ CCode ( array_length_pos = 0.1 , array_length_type = "gsize" ) ]
public unowned uint8[] peek_buffer ()
public unowned uint8[] peek_buffer ()
Returns the buffer with the currently available bytes.
The returned buffer must not be modified and will become invalid when reading from the stream or filling the buffer.
Parameters:
this | |
count |
a size_t to get the number of bytes available in the buffer |
Returns:
read-only buffer |