Пример #1
0
 public NetWriter(byte[] buffer)
 {
     m_Buffer = new NetworkBuffer(buffer);
     if (s_Encoding == null)
     {
         s_Encoding          = new UTF8Encoding();
         s_StringWriteBuffer = new byte[k_MaxStringLength];
     }
 }
Пример #2
0
 public NetReader(byte[] buffer)
 {
     m_buf = new NetworkBuffer(buffer);
     Initialize();
 }
Пример #3
0
 public NetReader()
 {
     m_buf = new NetworkBuffer();
     Initialize();
 }