Mirror Networking
Mirror.NetworkReaderPooled Class Reference

Pooled NetworkReader, automatically returned to pool when using 'using' More...

Inheritance diagram for Mirror.NetworkReaderPooled:
Mirror.NetworkReader Mirror.PooledNetworkReader

Public Member Functions

void Dispose ()
 
- Public Member Functions inherited from Mirror.NetworkReader
 NetworkReader (byte[] bytes)
 
 NetworkReader (ArraySegment< byte > segment)
 
void SetBuffer (byte[] bytes)
 
void SetBuffer (ArraySegment< byte > segment)
 
byte ReadByte ()
 
byte[] ReadBytes (byte[] bytes, int count)
 Read 'count' bytes into the bytes array More...
 
ArraySegment< byte > ReadBytesSegment (int count)
 Read 'count' bytes allocation-free as ArraySegment that points to the internal array. More...
 
override string ToString ()
 
Read< T > ()
 Reads any data type that mirror supports. Uses weaver populated Reader(T).read More...
 

Additional Inherited Members

- Public Attributes inherited from Mirror.NetworkReader
int Position
 Next position to read from the buffer More...
 
- Properties inherited from Mirror.NetworkReader
int Length [get]
 Total number of bytes to read from buffer More...
 
int Remaining [get]
 Remaining bytes that can be read, for convenience. More...
 

Detailed Description

Pooled NetworkReader, automatically returned to pool when using 'using'

Definition at line 16 of file NetworkReaderPooled.cs.