Skip to main content
Version: 14 Oct 2024

NonblockingReader

Public Methods

void FinishRead

public void FinishRead()

void FinishReadUnchecked

public void FinishReadUnchecked()

bool TryPrepareRead

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

Parameters

TypeNameDescription
ulongsize
ulongalignment
out void *outData

bool TryPrepareReadUnchecked

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

Parameters

TypeNameDescription
ulongsize
ulongalignment
out void *outData

bool TryRead

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

Parameters

TypeNameDescription
ulongsize
ulongalignment
out void *outData

bool TryRead< T >

public bool TryRead< T >(
out T outData
)

Parameters

TypeNameDescription
out ToutData

bool TryReadArray

public bool TryReadArray(
ulong elementSize,
ulong elementAlignment,
ulong elementCount,
out void * outData
)

Parameters

TypeNameDescription
ulongelementSize
ulongelementAlignment
ulongelementCount
out void *outData

bool TryReadArray< T >

public bool TryReadArray< T >(
ulong elementCount,
Allocator allocator,
out NativeArray< T > outData
)

Parameters

TypeNameDescription
ulongelementCount
Allocatorallocator
out NativeArray< T >outData

Public Attributes

IsCreated


public bool IsCreated => _Data != null;