align


Description:

public bool align (Alignment align)

Adjust the offset and stride fields in this so that the padding and stride alignment in align is respected.

Extra padding will be added to the right side when stride alignment padding is required and align will be updated with the new padding values.

Parameters:

this

a Info

align

alignment parameters

Returns:

false if alignment could not be applied, e.g. because the size of a frame can't be represented as a 32 bit integer (Since: 1.12)