to_position


Description:

[ Version ( deprecated = true ) ]
public uint64 to_position (Format format, uint64 running_time)

Warning: to_position is deprecated.

Convert running_time into a position in the segment so that to_running_time with that position returns running_time .

Note:

Parameters:

this

a Segment structure.

format

the format of the segment.

running_time

the running_time in the segment

Returns:

the position in the segment for running_time. This function returns -1 when running_time is -1 or when it is not inside this.