@@ -1,7 +1,7 @@ /* - * Copyright (c) 2008-2022 Jonathan Schleifer + * Copyright (c) 2008-2024 Jonathan Schleifer * * All rights reserved. * * This file is part of ObjFW. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE.QPL included in @@ -68,10 +68,18 @@ } huffman; } _context; bool _inLastBlock, _atEndOfStream; } +/** + * @brief The underlying stream of the inflate stream. + * + * Setting this can be useful if the the data to be inflated is coming from + * multiple streams, such as split across multiple files. + */ +@property (retain, nonatomic) OFStream *underlyingStream; + /** * @brief Creates a new OFInflateStream with the specified underlying stream. * * @param stream The underlying stream to which compressed data is written or * from which compressed data is read