Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/beefytech/Beef
/ Align
Method
Align
BeefySysLib/DataStream.cpp:276–281 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
274
}
275
276
void DataStream::Align(int alignSize)
277
{
278
int curPos = GetPos();
279
int alignBytesLeft = (alignSize - (curPos % alignSize)) % alignSize;
280
WriteZeros(alignBytesLeft);
281
}
Callers
5
WriteDLLLib
Method · 0.80
Link
Method · 0.80
AlignConst
Method · 0.80
Generate
Method · 0.80
CreateTableSwitchSection
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected