Skip to main content
Version: 14 Oct 2024

NonblockingWriter

Public Methods

void FinishWrite

public void FinishWrite()

void FinishWriteUnchecked

public void FinishWriteUnchecked()

bool TryPrepareWrite

public bool TryPrepareWrite(
ulong size,
ulong alignment,
out void * outData
)

Parameters

TypeNameDescription
ulongsize
ulongalignment
out void *outData

bool TryPrepareWriteUnchecked

public bool TryPrepareWriteUnchecked(
ulong size,
ulong alignment,
out void * outData
)

Parameters

TypeNameDescription
ulongsize
ulongalignment
out void *outData

bool TryWrite

public bool TryWrite(
void * value,
ulong size,
ulong alignment
)

Parameters

TypeNameDescription
void *value
ulongsize
ulongalignment

bool TryWrite< T >

public bool TryWrite< T >(
T value
)

Parameters

TypeNameDescription
Tvalue

bool TryWriteArray

public bool TryWriteArray(
void * values,
ulong elementSize,
ulong elementAlignment,
ulong elementCount
)

Parameters

TypeNameDescription
void *values
ulongelementSize
ulongelementAlignment
ulongelementCount

bool TryWriteArray< T >

public bool TryWriteArray< T >(
NativeArray< T > array
)

Parameters

TypeNameDescription
NativeArray< T >array

bool TryWriteUnchecked

public bool TryWriteUnchecked(
void * value,
ulong size,
ulong alignment
)

Parameters

TypeNameDescription
void *value
ulongsize
ulongalignment

Public Attributes

IsCreated


public bool IsCreated => _Data != null;