Mirror Networking
|
Pooled NetworkWriter, automatically returned to pool when using 'using' More...
Public Member Functions | |
void | Dispose () |
![]() | |
void | Reset () |
Reset both the position and length of the stream More... | |
byte[] | ToArray () |
Copies buffer until 'Position' to a new array. More... | |
ArraySegment< byte > | ToArraySegment () |
Returns allocation-free ArraySegment until 'Position'. More... | |
void | WriteByte (byte value) |
void | WriteBytes (byte[] buffer, int offset, int count) |
void | Write< T > (T value) |
Writes any type that mirror supports. Uses weaver populated Writer(T).write. More... | |
Additional Inherited Members | |
![]() | |
int | Position |
Next position to write to the buffer More... | |
![]() | |
const int | MaxStringLength = 1024 * 32 |
Pooled NetworkWriter, automatically returned to pool when using 'using'
Definition at line 13 of file NetworkWriterPooled.cs.