Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ported interleaving support to System.IO.Packaging #97898

Merged
merged 12 commits into from
Jul 16, 2024
41 changes: 40 additions & 1 deletion src/libraries/System.IO.Packaging/src/Resources/Strings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -375,4 +375,43 @@
<data name="FileContainsCorruptedData" xml:space="preserve">
<value>File contains corrupted data.</value>
</data>
</root>
<data name="DuplicatePiecesFound" xml:space="preserve">
<value>Duplicate pieces found in the package.</value>
</data>
<data name="OffsetNegative" xml:space="preserve">
<value>Offset must be greater than or equal to zero.</value>
</data>
<data name="PieceDoesNotExist" xml:space="preserve">
<value>Cannot find piece with the specified piece number.</value>
</data>
<data name="ReadBufferTooSmall" xml:space="preserve">
<value>Buffer too small to hold results of Read.</value>
</data>
<data name="ReadCountNegative" xml:space="preserve">
<value>Count of bytes to read cannot be negative.</value>
</data>
<data name="ReadNotSupported" xml:space="preserve">
<value>Reading is not supported on this stream.</value>
</data>
<data name="SeekNegative" xml:space="preserve">
<value>Cannot set seek pointer to a negative position.</value>
</data>
<data name="SeekNotSupported" xml:space="preserve">
<value>Stream does not support Seek.</value>
</data>
<data name="StreamDoesNotSupportWrite" xml:space="preserve">
<value>Cannot change content of a read-only stream.</value>
</data>
<data name="WriteBufferTooSmall" xml:space="preserve">
<value>Buffer of bytes to be written is too small.</value>
</data>
<data name="WriteCountNegative" xml:space="preserve">
<value>Count of bytes to write cannot be negative.</value>
</data>
<data name="WriteNotSupported" xml:space="preserve">
<value>Stream does not support writing.</value>
</data>
<data name="UnexpectedPartPieceUri" xml:space="preserve">
<value>Provided URI is a part piece URI, not a part URI.</value>
</data>
</root>
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
<Compile Include="System\IO\Packaging\EncryptionOption.cs" />
<Compile Include="System\IO\Packaging\FileFormatException.cs" />
<Compile Include="System\IO\Packaging\IgnoreFlushAndCloseStream.cs" />
<Compile Include="System\IO\Packaging\InterleavedZipPackagePartStream.cs" />
<Compile Include="System\IO\Packaging\InterleavedZipPackagePartStream.PieceDirectory.cs" />
<Compile Include="System\IO\Packaging\InternalRelationshipCollection.cs" />
<Compile Include="System\IO\Packaging\OrderedDictionary.cs" />
<Compile Include="System\IO\Packaging\Package.cs" />
Expand All @@ -39,6 +41,7 @@
<Compile Include="System\IO\Packaging\XmlWrappingReader.cs" />
<Compile Include="System\IO\Packaging\ZipPackage.cs" />
<Compile Include="System\IO\Packaging\ZipPackagePart.cs" />
<Compile Include="System\IO\Packaging\ZipPackagePartPiece.cs" />
<Compile Include="System\IO\Packaging\ZipStreamManager.cs" />
<Compile Include="System\IO\Packaging\ZipWrappingStream.cs" />
<Compile Include="System\IO\Packaging\PackUriHelper.PackUriScheme.cs" />
Expand Down
Loading
Loading