buffer_get_alignment

This function gets the byte alignment of the given buffer.

 

Syntax:

buffer_get_alignment(buffer);

ArgumentTypeDescription
bufferBufferThe buffer to check.

 

Returns:

Real

 

Example:

alignment = buffer_get_alignment(buff);

The above code gets the alignment of the buffer stored in the variable buff and store it in a variable.