MemoryPoolStreamCoreConfigureAlignment(Int64, Int32) Method
Configure the natural alignment of the data.
Namespace: SnapDB.IO.UnmanagedAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public void ConfigureAlignment(
long startPosition,
int alignment
)
Public Sub ConfigureAlignment (
startPosition As Long,
alignment As Integer
)
public:
void ConfigureAlignment(
long long startPosition,
int alignment
)
function ConfigureAlignment(startPosition, alignment);
Parameters
- startPosition Int64
- The first addressable position.
- alignment Int32
-
Forces alignment on this boundary.
Alignment must be a factor of the BufferPool's page boundary.