This function gets the byte alignment of the given buffer.
buffer_get_alignment(buffer);
| Argument | Type | Description |
|---|---|---|
| buffer | Buffer | The buffer to check. |
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.