[#BloombergLP-bdlbb-BlobUtil-padToAlignment] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlbb.adoc[bdlbb]::xref:BloombergLP/bdlbb/BlobUtil.adoc[BlobUtil]::padToAlignment :relfileprefix: ../../../ :mrdocs: Append padding bytes to the specified `dest` so that its resulting length is an integer multiple of the specified `alignment`. Optionally specify `fillChar` with which the padding is to be filled. If `fillChar` is not specified, a 0 byte will be used. The behavior is undefined unless `alignment` is a power of 2, and less than or equal to 64. == Synopsis Declared in `<bdlbb_blobutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void padToAlignment( xref:BloombergLP/bdlbb/Blob.adoc[Blob]* dest, int alignment, char fillChar = '\0'); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#