public QNetworkReader(QNetworkWriter writer)
 {
     m_buf = new QNetBuffer(writer.AsArray());
     Initialize();
 }
Example #2
0
        public bool SendWriter(QNetworkWriter writer)
        {
            var arraySegment = writer.AsArraySegment();

            return(SendBytes(arraySegment.Array, arraySegment.Count));
        }