|
Mirror Networking
|
Pooled NetworkWriter, automatically returned to pool when using 'using' More...
Public Member Functions | |
| void | Dispose () |
Public Member Functions inherited from Mirror.NetworkWriter | |
| 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 | |
Public Attributes inherited from Mirror.NetworkWriter | |
| int | Position |
| Next position to write to the buffer More... | |
Static Public Attributes inherited from Mirror.NetworkWriter | |
| const int | MaxStringLength = 1024 * 32 |
Pooled NetworkWriter, automatically returned to pool when using 'using'
Definition at line 13 of file NetworkWriterPooled.cs.