buffer_get_alignment

语法:

buffer_get_alignment(buffer);


参数 描述
buffer The index of the buffer to check.


返回: Real(实数)


描述

With this function you can get the a byte alignment for the given buffer ID.


例如:

alignment = buffer_get_alignment(buff);

The above code will get the alignment of the buffer from the value indexed in the variable "buff" and store it in a variable.