Buffer_get_alignment - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Description

Gets the current alignment of the given buffer in bytes and returns the result.

Parameters

Parameter Data Type Description
buffer integer index of the buffer to get the alignment of

Return Values

unsigned: Returns the alignment of the given buffer in bytes.

Example Call

// demonstrates getting the alignment of a buffer
var padding;
padding = buffer_get_alignment(mybuffer);

NOTOC