# PdfDuplicateStreamGroup

Duplicate stream candidate group discovered by byte length and hash.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfDuplicateStreamGroup.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDuplicateStreamGroup.cs#L14)

**Modifiers**

sealed

Duplicate stream candidate group discovered by byte length and hash.

## Inheritance

- object
- PdfDuplicateStreamGroup

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [PdfOptimizationReport.DuplicateStreams](/api/pdf/officeimo-pdf-pdfoptimizationreport/#property-duplicatestreams)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Hash { get; }` [#](#property-hash)

[PdfDuplicateStreamGroup.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDuplicateStreamGroup.cs#L14)

Shared stream hash.

`public long Length { get; }` [#](#property-length)

[PdfDuplicateStreamGroup.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDuplicateStreamGroup.cs#L17)

Length of each matching stream.

`public IReadOnlyList<int> ObjectNumbers { get; }` [#](#property-objectnumbers)

[PdfDuplicateStreamGroup.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDuplicateStreamGroup.cs#L20)

Object numbers that share the same length and hash.

`public int DuplicateCount { get; }` [#](#property-duplicatecount)

[PdfDuplicateStreamGroup.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDuplicateStreamGroup.cs#L23)

Number of duplicate copies after keeping one representative stream.

`public long EstimatedSavingsBytes { get; }` [#](#property-estimatedsavingsbytes)

[PdfDuplicateStreamGroup.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Diagnostics/PdfDuplicateStreamGroup.cs#L26)

Conservative byte saving estimate if duplicates could be shared.

<!-- PowerForge markdown artifact sha256:4FE65B75C0F6214005F912E6222D5A055FA079B6A2D7FB27226632BBCFB784D5 -->
