dmdscript ~master (2017-12-09T01:07:21Z)
Dub
Repo
OutBuffer.alignSize
dmdscript
outbuffer
OutBuffer
0-fill to align on power of 2 boundary.
class
OutBuffer
void
alignSize
(
uint
alignsize
)
in { assert (alignsize && (alignsize & (alignsize - 1)) == 0); }
out { assert ((offset & (alignsize - 1)) == 0); }
Meta
Source
See Implementation
dmdscript
outbuffer
OutBuffer
functions
align2
align4
alignSize
fill0
printf
reserve
spread
toBytes
toString
vprintf
write
0-fill to align on power of 2 boundary.