distance_from_discont


Description:

[ Version ( since = "1.10" ) ]
public uint64 distance_from_discont ()

Get the distance in bytes since the last buffer with the DISCONT flag.

The distance will be reset to 0 for all buffers with DISCONT on them, and then calculated for all other following buffers based on their size.

Parameters:

this

a Adapter

Returns:

The offset. Can be BUFFER_OFFSET_NONE.




2022 vala-language.org