class ReadOnlyFilteredCOSStream extends COSStream {

    @Override
    public long getFilteredLength() throws IOException {
        requireIOCondition(length >= 0, "Filtered length cannot be requested");
        return length;
    }

      ReadOnlyFilteredCOSStream(COSDictionary existingDictionary, InputStream stream, long length);
    public  ReadOnlyFilteredCOSStream(COSDictionary existingDictionary, InputStreamSupplier<InputStream> stream,
            long length);

}