import type { Pow2 } from "./api.js" ; param addr param size export const align = ( addr , size ) => ( size -- , ( addr + size ) & ~ size ) ; /**
 * Returns true if `addr` is aligned to wordsize `size`.
 */ export const isAligned = ( addr , size ) => ! ( addr & ( size - 1 ) ) ;