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