BlockingWriter
Public Methods
void FinishWrite
public void FinishWrite()
void FinishWriteUnchecked
public void FinishWriteUnchecked()
void * PrepareWrite
public void * PrepareWrite(
ulong size,
ulong alignment
)
Parameters
Type | Name | Description |
---|---|---|
ulong | size | |
ulong | alignment |
void * PrepareWriteUnchecked
public void * PrepareWriteUnchecked(
ulong size,
ulong alignment
)
Parameters
Type | Name | Description |
---|---|---|
ulong | size | |
ulong | alignment |
void Write
public void Write(
void * value,
ulong size,
ulong alignment
)
Parameters
Type | Name | Description |
---|---|---|
void * | value | |
ulong | size | |
ulong | alignment |
void Write< T >
public void Write< T >(
T * value
)
Parameters
Type | Name | Description |
---|---|---|
T * | value |
void Write< T >
public void Write< T >(
ref T value
)
Parameters
Type | Name | Description |
---|---|---|
ref T | value |
void WriteArray
public void WriteArray(
void * values,
ulong elementSize,
ulong elementAlignment,
ulong count
)
Parameters
Type | Name | Description |
---|---|---|
void * | values | |
ulong | elementSize | |
ulong | elementAlignment | |
ulong | count |
void WriteArray< T >
public void WriteArray< T >(
T * values,
ulong count
)
Parameters
Type | Name | Description |
---|---|---|
T * | values | |
ulong | count |
void WriteArrayUnchecked
public void WriteArrayUnchecked(
void * values,
ulong elementSize,
ulong elementAlignment,
ulong count
)
Parameters
Type | Name | Description |
---|---|---|
void * | values | |
ulong | elementSize | |
ulong | elementAlignment | |
ulong | count |
void WriteUnchecked
public void WriteUnchecked(
void * value,
ulong size,
ulong alignment
)
Parameters
Type | Name | Description |
---|---|---|
void * | value | |
ulong | size | |
ulong | alignment |
Public Attributes
IsCreated
public bool IsCreated => _Data != null;