[ CCode ( array_length_pos = 1.1 , array_length_type = "guint" ) ]
public unowned uint8[]? peek (int64 offset)
Returns the return.length
bytes of the stream to identify beginning at offset.
If offset is a positive number, the offset is relative to the beginning of the stream, if offset is a negative number the offset is relative to the end of the stream. The returned memory is valid until the typefinding function returns and must not be freed.
this |
The TypeFind object the function was called with |
offset |
The offset |
size |
The number of bytes to return |
the requested data, or |