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
Type | Name | Description |
---|---|---|
ulong | size | |
ulong | alignment | |
out void * | outData |
bool TryPrepareWriteUnchecked
public bool TryPrepareWriteUnchecked(
ulong size,
ulong alignment,
out void * outData
)
Parameters
Type | Name | Description |
---|---|---|
ulong | size | |
ulong | alignment | |
out void * | outData |
bool TryWrite
public bool TryWrite(
void * value,
ulong size,
ulong alignment
)
Parameters
Type | Name | Description |
---|---|---|
void * | value | |
ulong | size | |
ulong | alignment |
bool TryWrite< T >
public bool TryWrite< T >(
T value
)
Parameters
Type | Name | Description |
---|---|---|
T | value |
bool TryWriteArray
public bool TryWriteArray(
void * values,
ulong elementSize,
ulong elementAlignment,
ulong elementCount
)
Parameters
Type | Name | Description |
---|---|---|
void * | values | |
ulong | elementSize | |
ulong | elementAlignment | |
ulong | elementCount |
bool TryWriteArray< T >
public bool TryWriteArray< T >(
NativeArray< T > array
)
Parameters
Type | Name | Description |
---|---|---|
NativeArray< T > | array |
bool TryWriteUnchecked
public bool TryWriteUnchecked(
void * value,
ulong size,
ulong alignment
)
Parameters
Type | Name | Description |
---|---|---|
void * | value | |
ulong | size | |
ulong | alignment |
Public Attributes
IsCreated
public bool IsCreated => _Data != null;