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
| Type | Name | Description | 
|---|---|---|
| ulong | size | |
| ulong | alignment | |
| out void * | outData | 
bool TryPrepareReadUnchecked
public bool TryPrepareReadUnchecked(
    ulong size,
    ulong alignment,
    out void * outData
)
Parameters
| Type | Name | Description | 
|---|---|---|
| ulong | size | |
| ulong | alignment | |
| out void * | outData | 
bool TryRead
public bool TryRead(
    ulong size,
    ulong alignment,
    out void * outData
)
Parameters
| Type | Name | Description | 
|---|---|---|
| ulong | size | |
| ulong | alignment | |
| out void * | outData | 
bool TryRead< T >
public bool TryRead< T >(
    out T outData
)
Parameters
| Type | Name | Description | 
|---|---|---|
| out T | outData | 
bool TryReadArray
public bool TryReadArray(
    ulong elementSize,
    ulong elementAlignment,
    ulong elementCount,
    out void * outData
)
Parameters
| Type | Name | Description | 
|---|---|---|
| ulong | elementSize | |
| ulong | elementAlignment | |
| ulong | elementCount | |
| out void * | outData | 
bool TryReadArray< T >
public bool TryReadArray< T >(
    ulong elementCount,
    Allocator allocator,
    out NativeArray< T > outData
)
Parameters
| Type | Name | Description | 
|---|---|---|
| ulong | elementCount | |
| Allocator | allocator | |
| out NativeArray< T > | outData | 
Public Attributes
IsCreated
public bool IsCreated => _Data != null;