Пример #1
0
 public QNetworkWriter(byte[] buffer)
 {
     m_Buffer = new QNetBuffer(buffer);
     if (s_Encoding == null)
     {
         s_Encoding          = new UTF8Encoding();
         s_StringWriteBuffer = new byte[32768];
     }
 }
Пример #2
0
 public QNetworkReader(byte[] buffer)
 {
     m_buf = new QNetBuffer(buffer);
     Initialize();
 }
Пример #3
0
 public QNetworkReader(QNetworkWriter writer)
 {
     m_buf = new QNetBuffer(writer.AsArray());
     Initialize();
 }