Exemple #1
0
 public QNetworkWriter(byte[] buffer)
 {
     m_Buffer = new QNetBuffer(buffer);
     if (s_Encoding == null)
     {
         s_Encoding          = new UTF8Encoding();
         s_StringWriteBuffer = new byte[32768];
     }
 }
 public QNetworkReader(byte[] buffer)
 {
     m_buf = new QNetBuffer(buffer);
     Initialize();
 }
 public QNetworkReader(QNetworkWriter writer)
 {
     m_buf = new QNetBuffer(writer.AsArray());
     Initialize();
 }