Inheritance: SocketHandler
        private byte[] _byteBuffer = new byte[1]; // buffer for reading bytes 


        internal HttpChunkedReadingStream(HttpSocketHandler inputStream)
        { 
            _inputStream = inputStream;
 
            _bytesLeft = 0; 
        } // HttpChunkedReadingStream
示例#2
0
        private byte[] _byteBuffer = new byte[1];      // buffer for reading bytes


        internal HttpChunkedReadingStream(HttpSocketHandler inputStream)
        {
            _inputStream = inputStream;

            _bytesLeft = 0;
        } // HttpChunkedReadingStream
        private int _bytesLeft;                               // bytes left in current chunk 

        internal HttpFixedLengthReadingStream(HttpSocketHandler inputStream, int contentLength) 
        { 
            _inputStream = inputStream;
            _bytesLeft = contentLength; 
        } // HttpFixedLengthReadingStream
示例#4
0
        private int _bytesLeft;                         // bytes left in current chunk

        internal HttpFixedLengthReadingStream(HttpSocketHandler inputStream, int contentLength)
        {
            _inputStream = inputStream;
            _bytesLeft   = contentLength;
        } // HttpFixedLengthReadingStream