C# Class RampUp.Buffers.UnsafeBuffer

Unsafe, aligned to a page boundary buffer allocated with Native.VirtualAlloc.
Inheritance: IUnsafeBuffer
Datei anzeigen Open project: Scooletz/RampUp

Public Methods

Method Description
Dispose ( ) : void
GetAtomicInt ( long index ) : AtomicInt
GetAtomicLong ( long index ) : AtomicLong
UnsafeBuffer ( int size ) : System
Write ( int offset, ByteChunk chunk ) : void
ZeroMemory ( int start, int length ) : void

Private Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetAtomicInt() public method

public GetAtomicInt ( long index ) : AtomicInt
index long
return RampUp.Atomics.AtomicInt

GetAtomicLong() public method

public GetAtomicLong ( long index ) : AtomicLong
index long
return RampUp.Atomics.AtomicLong

UnsafeBuffer() public method

public UnsafeBuffer ( int size ) : System
size int
return System

Write() public method

public Write ( int offset, ByteChunk chunk ) : void
offset int
chunk ByteChunk
return void

ZeroMemory() public method

public ZeroMemory ( int start, int length ) : void
start int
length int
return void